about summary refs log tree commit diff
path: root/tests/multiple-outputs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/multiple-outputs.nix')
-rw-r--r--tests/multiple-outputs.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/multiple-outputs.nix b/tests/multiple-outputs.nix
index a4cf0caea476..7be96703d677 100644
--- a/tests/multiple-outputs.nix
+++ b/tests/multiple-outputs.nix
@@ -32,4 +32,15 @@ rec {
       '';
   };
 
+  cyclic = (mkDerivation {
+    name = "cyclic-outputs";
+    outputs = [ "a" "b" ];
+    builder = builtins.toFile "builder.sh"
+      ''
+        mkdir $a $b
+        echo $a > $b/foo
+        echo $b > $a/bar
+      '';
+  }).a;
+
 }