From 215745415e7c1e31cdb9747a02d217a884484c51 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 24 Nov 2014 15:34:17 +0100 Subject: [PATCH] Update installation section --- doc/manual/installation/installing-binary.xml | 27 ++++++++++--------- .../installation/supported-platforms.xml | 4 +-- .../troubleshooting/troubleshooting.xml | 4 +-- 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/doc/manual/installation/installing-binary.xml b/doc/manual/installation/installing-binary.xml index a5f9ac844..f9ee98c72 100644 --- a/doc/manual/installation/installing-binary.xml +++ b/doc/manual/installation/installing-binary.xml @@ -6,7 +6,8 @@ Installing a Binary Distribution -The easiest way to install Nix is to run the following command: +If you are using Linux or Mac OS X, the easiest way to install +Nix is to run the following command: $ bash <(curl https://nixos.org/nix/install) @@ -18,7 +19,7 @@ run this under your usual user account, not as root. The script will invoke sudo to create /nix if it doesn’t already exist. If you don’t have sudo, you should manually create -/nix first as root: +/nix first as root, e.g.: $ mkdir /nix @@ -40,7 +41,7 @@ build system. or upgraded using rpm -U. For example, -$ rpm -U nix-1.7-1.i386.rpm +$ rpm -U nix-1.8-1.i386.rpm @@ -48,21 +49,21 @@ $ rpm -U nix-1.7-1.i386.rpm install it like this: -$ dpkg -i nix_1.7-1_amd64.deb +$ dpkg -i nix_1.8-1_amd64.deb -For other platforms, including Mac OS X (Darwin), FreeBSD and -other Linux distributions, you can download a binary tarball that -contains Nix and all its dependencies. (This is what the install -script at https://nixos.org/nix/install uses.) You should -unpack it somewhere (e.g. in /tmp), and then run -the script named install inside the binary tarball: +For other platforms, including Mac OS X and other Linux +distributions, you can download a binary tarball that contains Nix and +all its dependencies. (This is what the install script at +https://nixos.org/nix/install uses.) You should unpack it +somewhere (e.g. in /tmp), and then run the script +named install inside the binary tarball: alice$ cd /tmp -alice$ tar xfj nix-1.7-x86_64-darwin.tar.bz2 -alice$ cd nix-1.7-x86_64-darwin +alice$ tar xfj nix-1.8-x86_64-darwin.tar.bz2 +alice$ cd nix-1.8-x86_64-darwin alice$ ./install @@ -78,4 +79,4 @@ $ rm -rf /nix - \ No newline at end of file + diff --git a/doc/manual/installation/supported-platforms.xml b/doc/manual/installation/supported-platforms.xml index 3f76d082b..cbe528690 100644 --- a/doc/manual/installation/supported-platforms.xml +++ b/doc/manual/installation/supported-platforms.xml @@ -33,7 +33,7 @@ -Nix is pretty portable, so it should work on most other Unix -platforms as well. +Nix is fairly portable, so it should work on most platforms that +support POSIX threads and have a C++11 compiler. diff --git a/doc/manual/troubleshooting/troubleshooting.xml b/doc/manual/troubleshooting/troubleshooting.xml index 3618d907e..1e973a192 100644 --- a/doc/manual/troubleshooting/troubleshooting.xml +++ b/doc/manual/troubleshooting/troubleshooting.xml @@ -7,8 +7,8 @@ Troubleshooting This section provides solutions for some common problems. See -the Nix -bug tracker for a list of currently known issues. +the Nix bug +tracker for a list of currently known issues.