tests: Add simple tests for nix-shell
nix-shell -A, -p and -i are lightly tested.
This commit is contained in:
parent
018f884ffd
commit
b501bea25f
4 changed files with 72 additions and 1 deletions
4
tests/shell.shebang.sh
Executable file
4
tests/shell.shebang.sh
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#! @ENV_PROG@ nix-shell
|
||||
#! nix-shell -I nixpkgs=shell.nix --option use-binary-caches false
|
||||
#! nix-shell --pure -i bash -p foo bar
|
||||
echo "$(foo) $(bar)"
|
||||
Loading…
Add table
Add a link
Reference in a new issue