diff --git a/doc/manual/expressions/builtins.xml b/doc/manual/expressions/builtins.xml index 54f697d85..c7a7b49be 100644 --- a/doc/manual/expressions/builtins.xml +++ b/doc/manual/expressions/builtins.xml @@ -459,7 +459,9 @@ stdenv.mkDerivation { "unknown" (for other kinds of files such as device nodes or fifos — but note that those cannot be copied to the Nix store, so if the predicate returns - true for them, the copy will fail). + true for them, the copy will fail). If you + exclude a directory, the entire corresponding subtree of + e2 will be excluded.