diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-11-05T09·07+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-11-05T09·07+0000 |
commit | 268d90a03eaab95d13c1326d58fb2287c628aedc (patch) | |
tree | 0833352714936c3c71f7592b8e6835bafdc97b35 /doc/manual/quick-start.xml | |
parent | 1ff8758f762367ffd2517ce7d9d63c6c9746a0ee (diff) |
* Various updates.
Diffstat (limited to 'doc/manual/quick-start.xml')
-rw-r--r-- | doc/manual/quick-start.xml | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/doc/manual/quick-start.xml b/doc/manual/quick-start.xml index eca58465f654..6d96cb5ac0bc 100644 --- a/doc/manual/quick-start.xml +++ b/doc/manual/quick-start.xml @@ -11,9 +11,9 @@ to the following chapters.</para> <orderedlist> -<listitem><para>Download a source tarball or RPM from <link -xlink:href='http://nixos.org/'/>. Build source -distributions using the regular sequence: +<listitem><para>Download a source tarball, RPM or Deb from <link +xlink:href='http://nixos.org/'/>. Build source distributions using +the regular sequence: <screen> $ tar xvfj nix-<replaceable>version</replaceable>.tar.bz2 @@ -21,13 +21,21 @@ $ ./configure $ make $ make install <lineannotation>(as root)</lineannotation></screen> -This will install Nix in <filename>/nix</filename>. You shouldn't -change the prefix if at all possible since that will make it -impossible to use pre-built binaries from the Nixpkgs channel and -other channels. Alternatively, you could grab an RPM if you're on an -RPM-based system. You should also add -<filename>/nix/etc/profile.d/nix.sh</filename> to your -<filename>~/.bashrc</filename> (or some other login +This will install the Nix binaries in <filename>/usr/local</filename> +and keep the Nix store and other state in <filename>/nix</filename>. +You can change the former by specifying +<option>--prefix=<replaceable>path</replaceable></option>. The +location of the store can be changed using +<option>--with-store-dir=<replaceable>path</replaceable></option>. +However, you shouldn't change the store location, if at all possible, +since that will make it impossible to use pre-built binaries from the +Nixpkgs channel and other channels. The location of the state can be +changed using +<option>--localstatedir=<replaceable>path</replaceable>.</option></para></listitem> + +<listitem><para>You should add +<filename><replaceable>prefix</replaceable>/etc/profile.d/nix.sh</filename> +to your <filename>~/.bashrc</filename> (or some other login file).</para></listitem> <listitem><para>Subscribe to the Nix Packages channel. @@ -100,7 +108,7 @@ numbers).</para></listitem> <listitem><para>You can also install specific packages directly from your web browser. For instance, you can go to <link -xlink:href="http://nix.cs.uu.nl/dist/nix/nixpkgs-unstable-latest/" /> +xlink:href="http://hydra.nixos.org/jobset/nixpkgs/trunk/channel/latest" /> and click on any link for the individual packages for your platform. Associate <literal>application/nix-package</literal> with the program <filename>/nix/bin/nix-install-package</filename>. A window should |