Skip to content

Commit

Permalink
Avoid copying docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tfc committed Mar 27, 2024
1 parent 1754864 commit 6c128f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/documentation.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ in

config = lib.mkIf (cfg.mkdocs-root != null) {
packages.documentation = pkgs.runCommand "mkdocs-flake-documentation" {} ''
cp -r ${cfg.mkdocs-root}/* .
cd ${cfg.mkdocs-root}
${cfg.mkdocs-package}/bin/mkdocs build ${strict} --site-dir $out
'';

Expand Down

0 comments on commit 6c128f6

Please sign in to comment.