nix shell: example shouldn't use an absolute path for the shell
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
This commit is contained in:
co-authored by
Eelco Dolstra
parent
64404220f5
commit
92bae33ca5
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user