mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-15 10:46:15 +02:00
9d2ed0a7d3
This should make `_NIX_TEST_ACCEPT=1` work again, fixing #11369. Progress on #2503
39 lines
950 B
Nix
39 lines
950 B
Nix
with import "${builtins.getEnv "_NIX_TEST_BUILD_DIR"}/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
|
|
'';
|
|
};
|
|
}
|