lix/tests/shell.shebang.rb
Samuel Dionne-Riel 9478f88681 Adds nix-shell test for special-cased ruby interpreter.
The test fakes the interpreter only to verify the arguments it would be
given.
2018-04-08 00:45:28 -04:00

8 lines
183 B
Ruby

#! @ENV_PROG@ nix-shell
#! 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.")