mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
Fix and extend nix-shell baseDir test
This commit is contained in:
parent
d5854f33e2
commit
f5b59fbc64
6 changed files with 20 additions and 2 deletions
9
tests/functional/shell.shebang.expr
Executable file
9
tests/functional/shell.shebang.expr
Executable file
|
@ -0,0 +1,9 @@
|
|||
#! @ENV_PROG@ nix-shell
|
||||
#! nix-shell "{ script, path, ... }: assert path == ./shell.nix; script { }"
|
||||
#! nix-shell --no-substitute
|
||||
#! nix-shell --expr
|
||||
#! nix-shell --arg script "import ./shell.nix"
|
||||
#! nix-shell --arg path "./shell.nix"
|
||||
#! nix-shell -A shellDrv
|
||||
#! nix-shell -i bash
|
||||
echo "$FOO"
|
Loading…
Add table
Add a link
Reference in a new issue