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.
This commit is contained in:
parent
0279876952
commit
503a772e02
@ -15,7 +15,7 @@ in pkgs.stdenv.mkDerivation {
|
|||||||
xmlformat
|
xmlformat
|
||||||
];
|
];
|
||||||
|
|
||||||
src = ./.;
|
src = lib.cleanSource ./.;
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"PANDOC_LUA_FILTERS_DIR=${pkgs.pandoc-lua-filters}/share/pandoc/filters"
|
"PANDOC_LUA_FILTERS_DIR=${pkgs.pandoc-lua-filters}/share/pandoc/filters"
|
||||||
|
Loading…
Reference in New Issue
Block a user