mirror of
https://github.com/NixOS/nix.git
synced 2024-11-21 22:32:26 +00:00
f29e7867a9
This reverts commitaeffdeffc8
, reversing changes made to723fdeb4f1
.
40 lines
909 B
Nix
40 lines
909 B
Nix
with import ./config.nix;
|
|
rec {
|
|
x1 = mkDerivation {
|
|
name = "x1";
|
|
builder = builtins.toFile "builder.sh"
|
|
''
|
|
echo $name > $out
|
|
'';
|
|
outputHashMode = "recursive";
|
|
outputHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
|
};
|
|
x2 = mkDerivation {
|
|
name = "x2";
|
|
builder = builtins.toFile "builder.sh"
|
|
''
|
|
echo $name > $out
|
|
'';
|
|
outputHashMode = "recursive";
|
|
outputHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
|
};
|
|
x3 = mkDerivation {
|
|
name = "x3";
|
|
builder = builtins.toFile "builder.sh"
|
|
''
|
|
echo $name > $out
|
|
'';
|
|
outputHashMode = "recursive";
|
|
outputHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
|
};
|
|
x4 = mkDerivation {
|
|
name = "x4";
|
|
inherit x2 x3;
|
|
builder = builtins.toFile "builder.sh"
|
|
''
|
|
echo $x2 $x3
|
|
exit 1
|
|
'';
|
|
};
|
|
}
|