aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-fail-addDrvOutputDependencies-wrong-element-kind.nix
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-wrong-element-kind.nix
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-wrong-element-kind.nix')
-rw-r--r--tests/functional/lang/eval-fail-addDrvOutputDependencies-wrong-element-kind.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-fail-addDrvOutputDependencies-wrong-element-kind.nix b/tests/functional/lang/eval-fail-addDrvOutputDependencies-wrong-element-kind.nix
new file mode 100644
index 000000000..e379e1d95
--- /dev/null
+++ b/tests/functional/lang/eval-fail-addDrvOutputDependencies-wrong-element-kind.nix
@@ -0,0 +1,9 @@
+let
+ drv = derivation {
+ name = "fail";
+ builder = "/bin/false";
+ system = "x86_64-linux";
+ outputs = [ "out" "foo" ];
+ };
+
+in builtins.addDrvOutputDependencies drv.outPath