aboutsummaryrefslogtreecommitdiff
path: root/doc/manual
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-01-22 09:17:55 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-01-22 09:17:55 +0000
commit3c4bc7276a4599867c46e872858550499a94c641 (patch)
tree7feb7b81fe4815c04382567673fb0920b6787efb /doc/manual
parent4f72b408a5b0cf4401362960000763322eeb1846 (diff)
* Added a note about adding /nix/etc/profile.d/nix.sh to the profile.
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/quick-start.xml11
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/manual/quick-start.xml b/doc/manual/quick-start.xml
index 79323c523..f4deb0bbb 100644
--- a/doc/manual/quick-start.xml
+++ b/doc/manual/quick-start.xml
@@ -22,7 +22,10 @@ $ ./configure
$ make
$ make install <lineannotation>(as root)</lineannotation></screen>
- This will install Nix in <filename>/nix</filename>.
+ This will install Nix in <filename>/nix</filename>. You
+ should also add <filename>/nix/etc/profile.d/nix.sh</filename>
+ to your <filename>~/.bashrc</filename> (or some other login
+ file).
</para>
</listitem>
@@ -36,6 +39,8 @@ $ make install <lineannotation>(as root)</lineannotation></screen>
$ wget http://<replaceable>...</replaceable>/nix/nixpkgs-<replaceable>version</replaceable>/nixpkgs-<replaceable>version</replaceable>.tar.bz2
$ tar xfj nixpkgs-<replaceable>version</replaceable>.tar.bz2</screen>
+ This will unpack the distribution into a directory
+ <filename>nixpkgs-<replaceable>version</replaceable>/</filename>.
</para>
</listitem>
@@ -62,7 +67,7 @@ $ nix-pull http://<replaceable>...</replaceable>/nix/nixpkgs-<replaceable>versio
See what's available:
<screen>
-$ nix-env -qaf nixpkgs-<replaceable>version</replaceable>
+$ nix-env -qaf nixpkgs-<replaceable>version</replaceable>/
MozillaFirebird-0.7
hello-2.1.1
docbook-xml-4.2
@@ -77,7 +82,7 @@ libxslt-1.1.0
Install some packages:
<screen>
-$ nix-env -iBf nixpkgs-<replaceable>version</replaceable> hello MozillaFirebird <replaceable>...</replaceable> </screen>
+$ nix-env -iBf nixpkgs-<replaceable>version</replaceable>/ hello MozillaFirebird <replaceable>...</replaceable> </screen>
</para>
</listitem>