mirror of
https://github.com/NixOS/nix.git
synced 2024-11-21 14:22:29 +00:00
Fixup: add missing test file
This commit is contained in:
parent
3e424b1040
commit
193dd5d934
10
tests/functional/shell.shebang.legacy.expr
Executable file
10
tests/functional/shell.shebang.legacy.expr
Executable file
@ -0,0 +1,10 @@
|
||||
#! @ENV_PROG@ nix-shell
|
||||
#! nix-shell "{ script, path, ... }: assert path == ./shell.nix; script { fooContents = toString ./.; }"
|
||||
#! nix-shell --no-substitute
|
||||
#! nix-shell --expr
|
||||
#! nix-shell --arg script "import ((builtins.getEnv ''TEST_ROOT'')+''/shell.nix'')"
|
||||
#! nix-shell --arg path "./shell.nix"
|
||||
#! nix-shell -A shellDrv
|
||||
#! nix-shell -i bash
|
||||
#! nix-shell --option nix-shell-shebang-arguments-relative-to-script false
|
||||
echo "$FOO"
|
Loading…
Reference in New Issue
Block a user