about summary refs log tree commit diff
path: root/doc/manual/expressions/language-values.xml
diff options
context:
space:
mode:
authorLinus Heckemann <git@sphalerite.org>2016-12-11T17·13+0000
committerLinus Heckemann <git@sphalerite.org>2016-12-11T17·13+0000
commitbb5a6c0085a12221849e51568198121157a02f49 (patch)
tree84ccc81349294cbfd525cdceee423f0670008031 /doc/manual/expressions/language-values.xml
parent6b30e1462e95b5dae1f09dc33651180efafed817 (diff)
Document path-search behaviour
Diffstat (limited to 'doc/manual/expressions/language-values.xml')
-rw-r--r--doc/manual/expressions/language-values.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/manual/expressions/language-values.xml b/doc/manual/expressions/language-values.xml
index b90baac5054c..67da688a4fc5 100644
--- a/doc/manual/expressions/language-values.xml
+++ b/doc/manual/expressions/language-values.xml
@@ -167,7 +167,16 @@ stdenv.mkDerivation {
   user's home directory. e.g. <filename>~/foo</filename> would be
   equivalent to <filename>/home/edolstra/foo</filename> for a user
   whose home directory is <filename>/home/edolstra</filename>.
-  </para></listitem>
+  </para>
+
+  <para>Paths can also be specified between angle brackets, e.g.
+  <literal>&lt;nixpkgs&gt;</literal>. This means that the directories
+  listed in the environment variable
+  <envar linkend="env-NIX_PATH">NIX_PATH</envar> will be searched
+  for the given file or directory name.
+  </para>
+
+  </listitem>
 
   <listitem><para><emphasis>Booleans</emphasis> with values
   <literal>true</literal> and