Skip to content

Commit

Permalink
doc: use lib.cleanSource
Browse files Browse the repository at this point in the history
Otherwise, running "nix-build" in the doc directory would create a
result symlink, so running "nix-build" again would produce a different
derivation, and so on forever, because the result symlink would keep
changing and wasn't ignored.
  • Loading branch information
alyssais authored and cole-h committed Feb 12, 2021
1 parent 0279876 commit 503a772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ in pkgs.stdenv.mkDerivation {
xmlformat
];

src = ./.;
src = lib.cleanSource ./.;

makeFlags = [
"PANDOC_LUA_FILTERS_DIR=${pkgs.pandoc-lua-filters}/share/pandoc/filters"
Expand Down

0 comments on commit 503a772

Please sign in to comment.