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:
Solène Rapenne
2022-07-21 14:25:07 +02:00
committed by GitHub
co-authored by Eelco Dolstra
parent 64404220f5
commit 92bae33ca5
+1 -1
View File
@@ -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: