aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/shell.shebang.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/shell.shebang.sh')
-rwxr-xr-xtests/functional/shell.shebang.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/functional/shell.shebang.sh b/tests/functional/shell.shebang.sh
new file mode 100755
index 000000000..f7132043d
--- /dev/null
+++ b/tests/functional/shell.shebang.sh
@@ -0,0 +1,4 @@
+#! @ENV_PROG@ nix-shell
+#! nix-shell -I nixpkgs=shell.nix --no-substitute
+#! nix-shell --pure -i bash -p foo bar
+echo "$(foo) $(bar) $@"