aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-fail-addDrvOutputDependencies-wrong-element-kind.nix
diff options
context:
space:
mode:
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