diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-12-21T14·42+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-12-21T14·42+0000 |
commit | 4be5a2c096083234e62117ce6016c4c9aa573aff (patch) | |
tree | 42530abd2150e18c5ed8d2b955b3efcf10c8832c /tests/multiple-outputs.nix | |
parent | 179409b9112ee9d9f858a124e0b109a46fe835c9 (diff) |
* Add a test for unsafeDiscardOutputDependency. Not really related to
multiple outputs, but good to have anyway.
Diffstat (limited to 'tests/multiple-outputs.nix')
-rw-r--r-- | tests/multiple-outputs.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/multiple-outputs.nix b/tests/multiple-outputs.nix index 9ce1f3dcf1b1..405999ce7c55 100644 --- a/tests/multiple-outputs.nix +++ b/tests/multiple-outputs.nix @@ -42,6 +42,16 @@ rec { ''; }; + d = mkDerivation { + name = "multiple-outputs-d"; + drv = builtins.unsafeDiscardOutputDependency b.drvPath; + builder = builtins.toFile "builder.sh" + '' + mkdir $out + echo $drv > $out/drv + ''; + }; + cyclic = (mkDerivation { name = "cyclic-outputs"; outputs = [ "a" "b" ]; |