diff options
Diffstat (limited to 'test/testdata/eval-fail-addDrvOutputDependencies-multi-elem-context.nix')
-rw-r--r-- | test/testdata/eval-fail-addDrvOutputDependencies-multi-elem-context.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/testdata/eval-fail-addDrvOutputDependencies-multi-elem-context.nix b/test/testdata/eval-fail-addDrvOutputDependencies-multi-elem-context.nix new file mode 100644 index 0000000..dbde264 --- /dev/null +++ b/test/testdata/eval-fail-addDrvOutputDependencies-multi-elem-context.nix | |||
@@ -0,0 +1,18 @@ | |||
1 | let | ||
2 | drv0 = derivation { | ||
3 | name = "fail"; | ||
4 | builder = "/bin/false"; | ||
5 | system = "x86_64-linux"; | ||
6 | outputs = [ "out" "foo" ]; | ||
7 | }; | ||
8 | |||
9 | drv1 = derivation { | ||
10 | name = "fail-2"; | ||
11 | builder = "/bin/false"; | ||
12 | system = "x86_64-linux"; | ||
13 | outputs = [ "out" "foo" ]; | ||
14 | }; | ||
15 | |||
16 | combo-path = "${drv0.drvPath}${drv1.drvPath}"; | ||
17 | |||
18 | in builtins.addDrvOutputDependencies combo-path | ||