diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-11-26T14·25+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-11-26T14·25+0000 |
commit | 62d9b31d0a86fc0fc5b198e4d46722573432918c (patch) | |
tree | 64bd45e0690367dbdd83261c1778d383e26dcc97 /doc/manual/installation.xml | |
parent | f6a30ab264506ca966180666dff45310d176659d (diff) |
* Updates.
Diffstat (limited to 'doc/manual/installation.xml')
-rw-r--r-- | doc/manual/installation.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/manual/installation.xml b/doc/manual/installation.xml index 3872a7fb8bf5..7d11fa43e0a5 100644 --- a/doc/manual/installation.xml +++ b/doc/manual/installation.xml @@ -111,6 +111,29 @@ $ autoreconf -i</screen> </sect1> + + <sect1> + <title>Using Nix</title> + + <para> + To use Nix, some environment variables should be set. In particular, + <literal>PATH</literal> should contain the directories + <filename><replaceable>prefix</replaceable>/bin</filename> and + <filename><replaceable>prefix</replaceable>/var/nix/links/current/bin</filename>. + The first directory contains the Nix tools themselves, while the second + contains to the current <emphasis>user environment</emphasis> (an + automatically generated package consisting of symlinks to installed + packages). The simplest way to set the required environment variables is + to include the file + <filename><replaceable>prefix</replaceable>/etc/profile.d/nix.sh</filename> + in your <filename>~/.bashrc</filename> (or similar), like this: + </para> + + <screen> +. <replaceable>prefix</replaceable>/etc/profile.d/nix.sh</screen> + + </sect1> + </chapter> <!-- |