mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
Make the reference cycle in the cyclic outputs test indirect
This commit is contained in:
parent
b4cee3f816
commit
f8e54b7874
1 changed files with 4 additions and 3 deletions
|
@ -54,12 +54,13 @@ rec {
|
||||||
|
|
||||||
cyclic = (mkDerivation {
|
cyclic = (mkDerivation {
|
||||||
name = "cyclic-outputs";
|
name = "cyclic-outputs";
|
||||||
outputs = [ "a" "b" ];
|
outputs = [ "a" "b" "c" ];
|
||||||
builder = builtins.toFile "builder.sh"
|
builder = builtins.toFile "builder.sh"
|
||||||
''
|
''
|
||||||
mkdir $a $b
|
mkdir $a $b $c
|
||||||
echo $a > $b/foo
|
echo $a > $b/foo
|
||||||
echo $b > $a/bar
|
echo $b > $c/bar
|
||||||
|
echo $c > $a/baz
|
||||||
'';
|
'';
|
||||||
}).a;
|
}).a;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue