tests: Add simple tests for nix-shell

nix-shell -A, -p and -i are lightly tested.
This commit is contained in:
Tuomas Tynkkynen 2017-01-01 18:45:51 +02:00
parent 018f884ffd
commit b501bea25f
4 changed files with 72 additions and 1 deletions

4
tests/shell.shebang.sh Executable file
View 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)"