2024-11-07 14:46:37 +02:00
|
|
|
with import "${builtins.getEnv "_NIX_TEST_BUILD_DIR"}/config.nix";
|
2009-03-17 19:11:55 +02:00
|
|
|
|
2020-07-02 16:43:35 +03:00
|
|
|
{ lockFifo ? null }:
|
|
|
|
|
2009-03-17 19:11:55 +02:00
|
|
|
rec {
|
|
|
|
|
|
|
|
input1 = mkDerivation {
|
|
|
|
name = "dependencies-input-1";
|
2020-05-12 14:49:55 +03:00
|
|
|
buildCommand = "mkdir $out; echo FOO > $out/foo";
|
2009-03-17 19:11:55 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
input2 = mkDerivation {
|
|
|
|
name = "dependencies-input-2";
|
2020-05-12 14:49:55 +03:00
|
|
|
buildCommand = "mkdir $out; echo BAR > $out/bar";
|
2009-03-17 19:11:55 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
test1 = mkDerivation {
|
|
|
|
name = "gc-concurrent";
|
|
|
|
builder = ./gc-concurrent.builder.sh;
|
|
|
|
inherit input1 input2;
|
2020-07-02 16:43:35 +03:00
|
|
|
inherit lockFifo;
|
2009-03-17 19:11:55 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
test2 = mkDerivation {
|
|
|
|
name = "gc-concurrent2";
|
|
|
|
builder = ./gc-concurrent2.builder.sh;
|
|
|
|
inherit input1 input2;
|
|
|
|
};
|
2020-05-12 14:49:55 +03:00
|
|
|
|
2009-03-17 19:11:55 +02:00
|
|
|
}
|