about summary refs log tree commit diff
path: root/third_party/nix/tests/shell.shebang.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/tests/shell.shebang.sh')
-rwxr-xr-xthird_party/nix/tests/shell.shebang.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/nix/tests/shell.shebang.sh b/third_party/nix/tests/shell.shebang.sh
new file mode 100755
index 0000000000..f7132043de
--- /dev/null
+++ b/third_party/nix/tests/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) $@"