aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/installation/env-variables.md
diff options
context:
space:
mode:
authorDavid Dunn <26876072+doubledup@users.noreply.github.com>2023-02-08 00:32:27 +0200
committerGitHub <noreply@github.com>2023-02-07 22:32:27 +0000
commit9aeaf98c4b0e99a3af45517a2a54f7715a396542 (patch)
tree23382a49d88e8be181220902e7fe1bbfa0d7e379 /doc/manual/src/installation/env-variables.md
parentfd01b8fc1e3e1fdab71a6a9c851bd45bd1f49b85 (diff)
Make install command in documentation compatible with fish shell (#7474)
Use a pipe for all install commands Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Diffstat (limited to 'doc/manual/src/installation/env-variables.md')
-rw-r--r--doc/manual/src/installation/env-variables.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/src/installation/env-variables.md b/doc/manual/src/installation/env-variables.md
index bb35c0e9f..fb8155a80 100644
--- a/doc/manual/src/installation/env-variables.md
+++ b/doc/manual/src/installation/env-variables.md
@@ -27,7 +27,7 @@ Set the environment variable and install Nix
```console
$ export NIX_SSL_CERT_FILE=/etc/ssl/my-certificate-bundle.crt
-$ sh <(curl -L https://nixos.org/nix/install)
+$ curl -L https://nixos.org/nix/install | sh
```
In the shell profile and rc files (for example, `/etc/bashrc`,
@@ -38,7 +38,7 @@ export NIX_SSL_CERT_FILE=/etc/ssl/my-certificate-bundle.crt
```
> **Note**
->
+>
> You must not add the export and then do the install, as the Nix
> installer will detect the presence of Nix configuration, and abort.