aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 1668104b1..f36919575 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 --command sh --command "cd src && make"
+ # nix shell nixpkgs#gnumake --command sh -c "cd src && make"
```
* Run GNU Hello in a chroot store: