about summary refs log tree commit diff
path: root/third_party/nix/tests/shell.shebang.rb
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/tests/shell.shebang.rb')
-rw-r--r--third_party/nix/tests/shell.shebang.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/nix/tests/shell.shebang.rb b/third_party/nix/tests/shell.shebang.rb
new file mode 100644
index 000000000000..ea67eb09c1c6
--- /dev/null
+++ b/third_party/nix/tests/shell.shebang.rb
@@ -0,0 +1,7 @@
+#! @SHELL_PROG@
+#! ruby
+#! nix-shell -I nixpkgs=shell.nix --no-substitute
+#! nix-shell --pure -p ruby -i ruby
+
+# Contents doesn't matter.
+abort("This shouldn't be executed.")