diff options
author | thenbe <33713262+thenbe@users.noreply.github.com> | 2023-09-07 22:25:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-07 22:25:32 +0000 |
commit | 5473e10249e02f95375b6126e232700d51bdf429 (patch) | |
tree | 8bc9fea96d8c7b3c4a2c49c7aeea7314648fac25 /doc/manual/src | |
parent | 5f55c339172eda77c6fd69ee0ecbe35a08625a05 (diff) |
fix: `nix shell` multiple commands example (#8950)
The `-c` flag belongs to `sh` not `nix shell`. As it stands, the command errors with:
```
$ nix shell nixpkgs#gnumake --command sh --command "cd src && make"
sh: --command: invalid option
```
https://github.com/NixOS/nix/pull/8276 was good for readability, but it missed this since that PR used a find/replace script.
Diffstat (limited to 'doc/manual/src')
0 files changed, 0 insertions, 0 deletions