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