nix shell: document how to invoke multiple commands from the command line

This commit is contained in:
Solène Rapenne 2022-07-20 14:53:03 +02:00
parent fbd0a6c6e2
commit 64404220f5

View file

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