diff options
author | Solène Rapenne <solene.rapenne@tweag.io> | 2022-07-20 14:53:03 +0200 |
---|---|---|
committer | Solène Rapenne <solene.rapenne@tweag.io> | 2022-07-20 14:54:46 +0200 |
commit | 64404220f54a36d3457433580ab8d78cf016572d (patch) | |
tree | d7eaa2e29b9a9731a5d831106259ebe4ae395e09 /src/nix/shell.md | |
parent | fbd0a6c6e2e87f6679fe5cabaddaa877cf3e5a90 (diff) |
nix shell: document how to invoke multiple commands from the command line
Diffstat (limited to 'src/nix/shell.md')
-rw-r--r-- | src/nix/shell.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nix/shell.md b/src/nix/shell.md index 90b81fb2f..161fdeb8d 100644 --- a/src/nix/shell.md +++ b/src/nix/shell.md @@ -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 |