aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolène Rapenne <solene@perso.pw>2022-07-21 14:25:07 +0200
committerGitHub <noreply@github.com>2022-07-21 14:25:07 +0200
commit92bae33ca5db60e729ce07156ebf1c06cf865cc8 (patch)
tree0065126a497fb429f19ce266e681b2765189060a
parent64404220f54a36d3457433580ab8d78cf016572d (diff)
nix shell: example shouldn't use an absolute path for the shell
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
-rw-r--r--src/nix/shell.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/shell.md b/src/nix/shell.md
index 161fdeb8d..9fa1031f5 100644
--- a/src/nix/shell.md
+++ b/src/nix/shell.md
@@ -26,7 +26,7 @@ R""(
* Run multiple commands in a shell environment:
```console
- # nix shell nixpkgs#gnumake -c /bin/sh -c "cd src && make"
+ # nix shell nixpkgs#gnumake -c sh -c "cd src && make"
```
* Run GNU Hello in a chroot store: