about summary refs log tree commit diff
path: root/doc/manual/expressions
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-05-30T16·34-0400
committerShea Levy <shea@shealevy.com>2018-05-30T16·34-0400
commitbbbfc180d9024991b9879e6d3c3c91d078bb499a (patch)
tree5203504dffda84e52199ec4f614f8915bbcbf665 /doc/manual/expressions
parent5d4a9d56777d8139705a920c79c77142b40a6d07 (diff)
Explicitly describe the effects of filterSource excluding a directory.
Diffstat (limited to 'doc/manual/expressions')
-rw-r--r--doc/manual/expressions/builtins.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/manual/expressions/builtins.xml b/doc/manual/expressions/builtins.xml
index 54f697d852e3..c7a7b49be9f7 100644
--- a/doc/manual/expressions/builtins.xml
+++ b/doc/manual/expressions/builtins.xml
@@ -459,7 +459,9 @@ stdenv.mkDerivation {
       <literal>"unknown"</literal> (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
-      <literal>true</literal> for them, the copy will fail).</para>
+      <literal>true</literal> for them, the copy will fail). If you
+      exclude a directory, the entire corresponding subtree of
+      <replaceable>e2</replaceable> will be excluded.</para>
 
     </listitem>