diff options
author | eldritch horrors <pennae@lix.systems> | 2024-03-04 05:06:56 +0100 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-03-04 05:06:56 +0100 |
commit | ea10088703d1d7f83c27e4ff14ae98543f7fc47d (patch) | |
tree | 31e5cd0a9235c39ee7e6e7604c1a5b7e95fae083 /tests/functional/lang/eval-fail-addDrvOutputDependencies-multi-elem-context.nix | |
parent | 032eff7f6919daf8c4065ccdba776f23f1701174 (diff) |
Merge pull request #9216 from obsidiansystems/addDrvOutputDependencies-pre
Add `builtins.addDrvOutputDependencies`
(cherry picked from commit a58d7f143ec995a45745c2176bfebcc3e011db58)
Change-Id: Ia5a1790bf29dfaf29287cc35cdae6b6d650e7a83
Diffstat (limited to 'tests/functional/lang/eval-fail-addDrvOutputDependencies-multi-elem-context.nix')
-rw-r--r-- | tests/functional/lang/eval-fail-addDrvOutputDependencies-multi-elem-context.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-fail-addDrvOutputDependencies-multi-elem-context.nix b/tests/functional/lang/eval-fail-addDrvOutputDependencies-multi-elem-context.nix new file mode 100644 index 000000000..dbde264df --- /dev/null +++ b/tests/functional/lang/eval-fail-addDrvOutputDependencies-multi-elem-context.nix @@ -0,0 +1,18 @@ +let + drv0 = derivation { + name = "fail"; + builder = "/bin/false"; + system = "x86_64-linux"; + outputs = [ "out" "foo" ]; + }; + + drv1 = derivation { + name = "fail-2"; + builder = "/bin/false"; + system = "x86_64-linux"; + outputs = [ "out" "foo" ]; + }; + + combo-path = "${drv0.drvPath}${drv1.drvPath}"; + +in builtins.addDrvOutputDependencies combo-path |