mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
67d231c046
This reverts commit619eeb658a
, reversing changes made to1af94bf471
.
31 lines
621 B
Nix
31 lines
621 B
Nix
with import "${builtins.getEnv "_NIX_TEST_BUILD_DIR"}/config.nix";
|
|
|
|
{ lockFifo ? null }:
|
|
|
|
rec {
|
|
|
|
input1 = mkDerivation {
|
|
name = "dependencies-input-1";
|
|
buildCommand = "mkdir $out; echo FOO > $out/foo";
|
|
};
|
|
|
|
input2 = mkDerivation {
|
|
name = "dependencies-input-2";
|
|
buildCommand = "mkdir $out; echo BAR > $out/bar";
|
|
};
|
|
|
|
test1 = mkDerivation {
|
|
name = "gc-concurrent";
|
|
builder = ./gc-concurrent.builder.sh;
|
|
inherit input1 input2;
|
|
inherit lockFifo;
|
|
};
|
|
|
|
test2 = mkDerivation {
|
|
name = "gc-concurrent2";
|
|
builder = ./gc-concurrent2.builder.sh;
|
|
inherit input1 input2;
|
|
};
|
|
|
|
}
|