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
parent 64404220f5
commit 92bae33ca5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: