summary refs log tree commit diff
path: root/nixos/doc/manual/installation
diff options
context:
space:
mode:
authorWalter Franzini <walter.franzini@gmail.com>2018-05-16 07:23:00 +0200
committerMatthew Justin Bauer <mjbauer95@gmail.com>2018-05-16 00:23:00 -0500
commit205a9f2576646e65930d6c825df33da484d590b0 (patch)
treed5d297837a78e2716c63c0eadf936eda3c83eb51 /nixos/doc/manual/installation
parent7f27566efd3058ae56a21e85b2ababd1fc65fda2 (diff)
downloadnixpkgs-205a9f2576646e65930d6c825df33da484d590b0.tar
nixpkgs-205a9f2576646e65930d6c825df33da484d590b0.tar.gz
nixpkgs-205a9f2576646e65930d6c825df33da484d590b0.tar.bz2
nixpkgs-205a9f2576646e65930d6c825df33da484d590b0.tar.lz
nixpkgs-205a9f2576646e65930d6c825df33da484d590b0.tar.xz
nixpkgs-205a9f2576646e65930d6c825df33da484d590b0.tar.zst
nixpkgs-205a9f2576646e65930d6c825df33da484d590b0.zip
minor improvement to nix installation instructions (#40521)
* improve nix installation instructions

in the command

	$ bash <(curl https://nixos.org/nix/install)

<(..) is a bashism.  The documentation now show a command that does
not require to be executed by bash.
Diffstat (limited to 'nixos/doc/manual/installation')
-rw-r--r--nixos/doc/manual/installation/installing-from-other-distro.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/doc/manual/installation/installing-from-other-distro.xml b/nixos/doc/manual/installation/installing-from-other-distro.xml
index 8b0c350b064..c55aa90267f 100644
--- a/nixos/doc/manual/installation/installing-from-other-distro.xml
+++ b/nixos/doc/manual/installation/installing-from-other-distro.xml
@@ -47,7 +47,7 @@
     Short version:
    </para>
 <screen>
-$ bash &lt;(curl https://nixos.org/nix/install)
+$ curl https://nixos.org/nix/install | sh
 $ . $HOME/.nix-profile/etc/profile.d/nix.sh # …or open a fresh shell</screen>
    <para>
     More details in the