mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
* Add a (currently failing) test that checks whether mutually
recursive outputs are properly rejected. * Add a (also failing) test for "nix-build -A <output-name>".
This commit is contained in:
parent
46e42c92c1
commit
1f3b0ede7d
2 changed files with 22 additions and 0 deletions
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue