flake: cd self instead of cp cleanSource for pages

This commit is contained in:
zowoq 2023-07-21 17:50:12 +10:00 committed by Jonas Chevalier
parent 500819862a
commit cc70082be1

View file

@ -91,7 +91,7 @@
{
buildInputs = [ pkgs.python3.pkgs.mkdocs-material ];
} ''
cp -r ${pkgs.lib.cleanSource ./.}/* .
cd ${self}
mkdocs build --strict --site-dir $out
'';