mirror of
https://github.com/NixOS/nix
synced 2025-07-10 13:03:55 +02:00
nix env shell: Move from nix shell, add shorthand alias
This commit is contained in:
parent
98b85b2166
commit
c692f6af13
5 changed files with 114 additions and 77 deletions
|
@ -5,6 +5,9 @@ source common.sh
|
|||
clearStore
|
||||
clearCache
|
||||
|
||||
# nix shell is an alias for nix env shell. We'll use the shorter form in the rest of the test.
|
||||
nix env shell -f shell-hello.nix hello -c hello | grep 'Hello World'
|
||||
|
||||
nix shell -f shell-hello.nix hello -c hello | grep 'Hello World'
|
||||
nix shell -f shell-hello.nix hello -c hello NixOS | grep 'Hello NixOS'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue