aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-fail-addDrvOutputDependencies-multi-elem-context.err.exp
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 05:06:56 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 05:06:56 +0100
commitea10088703d1d7f83c27e4ff14ae98543f7fc47d (patch)
tree31e5cd0a9235c39ee7e6e7604c1a5b7e95fae083 /tests/functional/lang/eval-fail-addDrvOutputDependencies-multi-elem-context.err.exp
parent032eff7f6919daf8c4065ccdba776f23f1701174 (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.err.exp')
-rw-r--r--tests/functional/lang/eval-fail-addDrvOutputDependencies-multi-elem-context.err.exp11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-fail-addDrvOutputDependencies-multi-elem-context.err.exp b/tests/functional/lang/eval-fail-addDrvOutputDependencies-multi-elem-context.err.exp
new file mode 100644
index 000000000..bb389db4e
--- /dev/null
+++ b/tests/functional/lang/eval-fail-addDrvOutputDependencies-multi-elem-context.err.exp
@@ -0,0 +1,11 @@
+error:
+ … while calling the 'addDrvOutputDependencies' builtin
+
+ at /pwd/lang/eval-fail-addDrvOutputDependencies-multi-elem-context.nix:18:4:
+
+ 17|
+ 18| in builtins.addDrvOutputDependencies combo-path
+ | ^
+ 19|
+
+ error: context of string '/nix/store/pg9yqs4yd85yhdm3f4i5dyaqp5jahrsz-fail.drv/nix/store/2dxd5frb715z451vbf7s8birlf3argbk-fail-2.drv' must have exactly one element, but has 2