hydra/t/jobs/build-output-as-input.nix

19 lines
317 B
Nix
Raw Normal View History

2011-03-17 13:25:27 +00:00
with import ./config.nix;
let
jobs = {
build1 =
mkDerivation {
name = "build1";
builder = ./empty-dir-builder.sh;
};
2013-01-22 13:41:02 +00:00
build2 =
2013-03-29 00:34:50 +00:00
{ build1 }:
2011-03-17 13:25:27 +00:00
mkDerivation {
name = "build2";
builder = ./empty-dir-builder.sh;
inherit build1;
};
};
in jobs