Merge pull request #11626 from fricklerhandwerk/nix-install-instruction

doc: don't use bash substitution in install command
This commit is contained in:
Valentin Gagarin 2024-10-01 22:51:10 +02:00 committed by GitHub
commit 96ba7f9d77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ This option requires either:
> when running Nix commands, refer to GitHub issue [NixOS/nix#10892](https://github.com/NixOS/nix/issues/10892) for instructions to fix your installation without reinstalling.
```console
$ bash <(curl -L https://nixos.org/nix/install) --daemon
$ curl -L https://nixos.org/nix/install | sh -s -- --daemon
```
## Single-user
@ -36,7 +36,7 @@ cannot offer equivalent sharing, isolation, or security.
This option is suitable for systems without systemd.
```console
$ bash <(curl -L https://nixos.org/nix/install) --no-daemon
$ curl -L https://nixos.org/nix/install | sh -s -- --no-daemon
```
## Distributions