doc: use lib.cleanSource

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.
wip/yesman
Alyssa Ross 3 years ago committed by Cole Helbling
parent 0279876952
commit 503a772e02
  1. 2
      doc/default.nix

@ -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"

Loading…
Cancel
Save