1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 01:51:47 +02:00

* Add a test for referring to another derivation's ‘drvPath’. This

currently fails in read-only mode.
This commit is contained in:
Eelco Dolstra 2011-12-21 13:47:21 +00:00
parent edd9359beb
commit 179409b911
2 changed files with 29 additions and 1 deletions

View file

@ -32,6 +32,16 @@ rec {
'';
};
c = mkDerivation {
name = "multiple-outputs-c";
drv = b.drvPath;
builder = builtins.toFile "builder.sh"
''
mkdir $out
ln -s $drv $out/drv
'';
};
cyclic = (mkDerivation {
name = "cyclic-outputs";
outputs = [ "a" "b" ];