diff options
author | Solène Rapenne <solene@perso.pw> | 2022-07-21 14:25:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-21 14:25:07 +0200 |
commit | 92bae33ca5db60e729ce07156ebf1c06cf865cc8 (patch) | |
tree | 0065126a497fb429f19ce266e681b2765189060a /src/nix/shell.md | |
parent | 64404220f54a36d3457433580ab8d78cf016572d (diff) |
nix shell: example shouldn't use an absolute path for the shell
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
Diffstat (limited to 'src/nix/shell.md')
-rw-r--r-- | src/nix/shell.md | 2 |
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: |