diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-02-27 15:17:37 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-02-27 15:17:37 +0100 |
commit | 2672a28bb4ba38a8358c306b8af4897c804b690d (patch) | |
tree | 6d4e3f704df4effe04c01e799d17d501c4178769 /src/libmain/shared.hh | |
parent | 7cd9859e411c2254cc20558709e459d467372e6e (diff) |
nix dev-shell: Add --command option
Note: like 'nix run', and unlike 'nix-shell', this takes an argv
vector rather than a shell command. So
nix dev-shell -c 'echo $PATH'
doesn't work. Instead you need to do
nix dev-shell -c bash -c 'echo $PATH'
Diffstat (limited to 'src/libmain/shared.hh')
0 files changed, 0 insertions, 0 deletions