From bbbfc180d9024991b9879e6d3c3c91d078bb499a Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Wed, 30 May 2018 12:34:41 -0400 Subject: [PATCH] Explicitly describe the effects of filterSource excluding a directory. --- doc/manual/expressions/builtins.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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.