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:
parent
64404220f5
commit
92bae33ca5
|
@ -26,7 +26,7 @@ R""(
|
||||||
* Run multiple commands in a shell environment:
|
* Run multiple commands in a shell environment:
|
||||||
|
|
||||||
```console
|
```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:
|
* Run GNU Hello in a chroot store:
|
||||||
|
|
Loading…
Reference in a new issue