diff --git a/tests/shell.shebang.expr b/tests/shell.shebang.expr new file mode 100755 index 000000000..51aef0839 --- /dev/null +++ b/tests/shell.shebang.expr @@ -0,0 +1,4 @@ +#! @ENV_PROG@ nix-shell +#! nix-shell -E "with (import ./shell.nix {}); runCommand \"hi\" {buildInputs = [ruby];} \"\"" +#! nix-shell --pure -i ruby +puts ARGV[1]