diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-09-19 13:33:56 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2023-09-19 13:33:56 +0200 |
commit | c451b48993daa6dd3992805eaf6119c1ffd1d0c3 (patch) | |
tree | 7ae3919a52b5f008c9ee00a5f7464049177df9d2 /tests/dyn-drv/eval-outputOf.sh | |
parent | 539cc5e5f00c0d524dec6e73b08ab8cb0f5a9630 (diff) | |
parent | 2a52ec4e928c254338a612a6b40355512298ef38 (diff) |
Merge remote-tracking branch 'origin/master' into p/flake-update
Diffstat (limited to 'tests/dyn-drv/eval-outputOf.sh')
-rw-r--r-- | tests/dyn-drv/eval-outputOf.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dyn-drv/eval-outputOf.sh b/tests/dyn-drv/eval-outputOf.sh index 99d917c06..9467feb8d 100644 --- a/tests/dyn-drv/eval-outputOf.sh +++ b/tests/dyn-drv/eval-outputOf.sh @@ -13,14 +13,14 @@ nix --experimental-features 'nix-command' eval --impure --expr \ # the future so it does work, but there are some design questions to # resolve first. Adding a test so we don't liberalise it by accident. expectStderr 1 nix --experimental-features 'nix-command dynamic-derivations' eval --impure --expr \ - 'builtins.outputOf (import ../dependencies.nix) "out"' \ + 'builtins.outputOf (import ../dependencies.nix {}) "out"' \ | grepQuiet "value is a set while a string was expected" # Test that "DrvDeep" string contexts are not supported at this time # # Like the above, this is a restriction we could relax later. expectStderr 1 nix --experimental-features 'nix-command dynamic-derivations' eval --impure --expr \ - 'builtins.outputOf (import ../dependencies.nix).drvPath "out"' \ + 'builtins.outputOf (import ../dependencies.nix {}).drvPath "out"' \ | grepQuiet "has a context which refers to a complete source and binary closure. This is not supported at this time" # Test using `builtins.outputOf` with static derivations |