diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/nix-shell.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/nix-shell.sh b/tests/nix-shell.sh index 0dc1999d8..f291c6f79 100644 --- a/tests/nix-shell.sh +++ b/tests/nix-shell.sh @@ -105,7 +105,8 @@ source <(nix print-dev-env -f "$shellDotNix" shellDrv) # Test nix-shell with ellipsis and no `inNixShell` argument (for backwards compat with old nixpkgs) cat >$TEST_ROOT/shell-ellipsis.nix <<EOF -{ system ? "x86_64-linux", ... }: +{ system ? "x86_64-linux", ... }@args: +assert (!(args ? inNixShell)); (import $shellDotNix { }).shellDrv EOF nix-shell $TEST_ROOT/shell-ellipsis.nix --run "true" |