Merge pull request #6825 from rapenne-s/nix_shell_example

nix shell: document how to invoke multiple commands from the command …
This commit is contained in:
Valentin Gagarin 2022-09-09 13:35:23 +02:00 committed by GitHub
commit dceb4f9dbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,6 +23,12 @@ R""(
Hi everybody! Hi everybody!
``` ```
* Run multiple commands in a shell environment:
```console
# nix shell nixpkgs#gnumake -c sh -c "cd src && make"
```
* Run GNU Hello in a chroot store: * Run GNU Hello in a chroot store:
```console ```console