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:
parent
edd9359beb
commit
179409b911
2 changed files with 29 additions and 1 deletions
|
@ -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" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue