diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-02-08 17:47:22 +0000 |
---|---|---|
committer | Cole Helbling <cole.e.helbling@outlook.com> | 2021-02-12 08:59:27 -0800 |
commit | 503a772e024b03eb7dd3dd9a08a9a40d655609cc (patch) | |
tree | 91c30f4e333f8cde38c58a7eb2802d4d4c9cea37 /doc/default.nix | |
parent | 0279876952630f87edb8957698fb7280ba499e70 (diff) |
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.
Diffstat (limited to 'doc/default.nix')
-rw-r--r-- | doc/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/default.nix b/doc/default.nix index 543a3874170b..25389fa2da7e 100644 --- a/doc/default.nix +++ b/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" |