From f8e54b7874b73891e39aff11dac2a5ceabef2f02 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Wed, 21 Dec 2011 17:34:44 +0000 Subject: [PATCH] Make the reference cycle in the cyclic outputs test indirect --- tests/multiple-outputs.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/multiple-outputs.nix b/tests/multiple-outputs.nix index 405999ce7..09946137d 100644 --- a/tests/multiple-outputs.nix +++ b/tests/multiple-outputs.nix @@ -54,12 +54,13 @@ rec { cyclic = (mkDerivation { name = "cyclic-outputs"; - outputs = [ "a" "b" ]; + outputs = [ "a" "b" "c" ]; builder = builtins.toFile "builder.sh" '' - mkdir $a $b + mkdir $a $b $c echo $a > $b/foo - echo $b > $a/bar + echo $b > $c/bar + echo $c > $a/baz ''; }).a;