aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/expressions/generic-builder.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/expressions/generic-builder.xml')
-rw-r--r--doc/manual/expressions/generic-builder.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/manual/expressions/generic-builder.xml b/doc/manual/expressions/generic-builder.xml
index f6e67813d..a6f258abc 100644
--- a/doc/manual/expressions/generic-builder.xml
+++ b/doc/manual/expressions/generic-builder.xml
@@ -42,14 +42,14 @@ genericBuild ③</programlisting>
<filename>bin</filename> subdirectory, it's added to
<literal>PATH</literal>; if it has a <filename>include</filename>
subdirectory, it's added to GCC's header search path; and so
- on.<footnote><para>How does it work? <filename>setup</filename>
- tries to source the file
+ on. (This is implemented in a modular way:
+ <filename>setup</filename> tries to source the file
<filename><emphasis>pkg</emphasis>/nix-support/setup-hook</filename>
of all dependencies. These “setup hooks” can then set up whatever
environment variables they want; for instance, the setup hook for
Perl sets the <literal>PERL5LIB</literal> environment variable to
contain the <filename>lib/site_perl</filename> directories of all
- inputs.</para></footnote>
+ inputs.)
</para>
</listitem>