aboutsummaryrefslogtreecommitdiff
path: root/tests/gc-concurrent.nix
blob: 0aba1f98307fbd1192f7b33b9759669d81a2692c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
with import ./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;
  };

}