From b501bea25fac9c43dfd0d197e16836facd2b63a5 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Sun, 1 Jan 2017 18:45:51 +0200 Subject: tests: Add simple tests for nix-shell nix-shell -A, -p and -i are lightly tested. --- tests/shell.shebang.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 tests/shell.shebang.sh (limited to 'tests/shell.shebang.sh') diff --git a/tests/shell.shebang.sh b/tests/shell.shebang.sh new file mode 100755 index 000000000000..544e2821750f --- /dev/null +++ b/tests/shell.shebang.sh @@ -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)" -- cgit 1.4.1