build: remove extra directory

This commit is contained in:
Motiejus Jakštys 2023-04-04 10:12:28 +03:00
parent f26dc8ed42
commit ba89c8d2ba

View File

@ -37,8 +37,7 @@
buildPhase = '' buildPhase = ''
${pkgs.hugo}/bin/hugo --cleanDestinationDir --printPathWarnings --panicOnWarning --log ${pkgs.hugo}/bin/hugo --cleanDestinationDir --printPathWarnings --panicOnWarning --log
cd public find public \
find . \
-name '*.html' -or \ -name '*.html' -or \
-name '*.xml' -or \ -name '*.xml' -or \
-name '*.txt' -or \ -name '*.txt' -or \
@ -49,7 +48,7 @@
''; '';
installPhase = '' installPhase = ''
cd ..; mv public $out mv public $out
''; '';
}; };