1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 02:43:54 +02:00

doc: Change install syntax to be fish compatible

This commit is contained in:
toonn 2021-07-05 13:53:15 +02:00
parent 1da76cbec7
commit ea962a84c3
No known key found for this signature in database
GPG key ID: A1756943D328A924

View file

@ -12,7 +12,7 @@
</para>
<screen>
$ sh &lt;(curl -L https://nixos.org/nix/install)
$ curl -L https://nixos.org/nix/install | sh -s
</screen>
<para>
@ -39,7 +39,7 @@
To explicitly select a single-user installation on your system:
<screen>
sh &lt;(curl -L https://nixos.org/nix/install) --no-daemon
curl -L https://nixos.org/nix/install | sh -s -- --no-daemon
</screen>
</para>
@ -97,7 +97,7 @@ $ rm -rf /nix
installation on your system:
</para>
<screen>sh &lt;(curl -L https://nixos.org/nix/install) --daemon</screen>
<screen>curl -L https://nixos.org/nix/install | sh -s -- --daemon</screen>
<para>
The multi-user installation of Nix will create build users between
@ -178,7 +178,7 @@ sudo rm /Library/LaunchDaemons/org.nixos.nix-daemon.plist
is a bit of a misnomer). To use this approach, just install Nix with:
</para>
<screen>$ sh &lt;(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume</screen>
<screen>$ curl -L https://nixos.org/nix/install | sh -s -- --darwin-use-unencrypted-nix-store-volume</screen>
<para>
If you don't like the sound of this, you'll want to weigh the
@ -429,7 +429,7 @@ LABEL=Nix\040Store /nix apfs rw,nobrowse
NixOS.org installation script:
<screen>
sh &lt;(curl -L https://nixos.org/nix/install)
curl -L https://nixos.org/nix/install | sh -s
</screen>
</para>