mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Fixup: add missing test file
This commit is contained in:
parent
3e424b1040
commit
193dd5d934
1 changed files with 10 additions and 0 deletions
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 a new issue