2019-05-08 11:28:02 +00:00
|
|
|
{
|
|
|
|
name = "hydra";
|
|
|
|
|
|
|
|
description = "A Nix-based continuous build system";
|
|
|
|
|
2019-06-18 16:00:40 +00:00
|
|
|
epoch = 201906;
|
2019-05-08 11:28:02 +00:00
|
|
|
|
2019-08-09 11:10:50 +00:00
|
|
|
inputs =
|
|
|
|
[ "nixpkgs"
|
|
|
|
"nix/ab16b3d076e9cd3ecfdcde128f43dd486b072557"
|
|
|
|
];
|
2019-05-08 11:28:02 +00:00
|
|
|
|
2019-08-09 11:10:50 +00:00
|
|
|
outputs = inputs:
|
|
|
|
let
|
2019-06-03 10:09:18 +00:00
|
|
|
nix = inputs.nix.outputs.hydraJobs.build.x86_64-linux // {
|
|
|
|
perl-bindings = inputs.nix.outputs.hydraJobs.perlBindings.x86_64-linux;
|
2019-05-22 12:44:10 +00:00
|
|
|
};
|
2019-08-09 11:10:50 +00:00
|
|
|
in rec {
|
2019-05-08 11:28:02 +00:00
|
|
|
|
2019-08-09 11:10:50 +00:00
|
|
|
hydraJobs = import ./release.nix {
|
|
|
|
hydraSrc = inputs.self;
|
|
|
|
nixpkgs = inputs.nixpkgs;
|
|
|
|
inherit nix;
|
|
|
|
};
|
2019-06-03 10:29:42 +00:00
|
|
|
|
2019-08-09 11:10:50 +00:00
|
|
|
checks.build = hydraJobs.build.x86_64-linux;
|
|
|
|
checks.install = hydraJobs.tests.install.x86_64-linux;
|
2019-05-08 11:28:02 +00:00
|
|
|
|
2019-08-09 11:10:50 +00:00
|
|
|
packages.hydra = hydraJobs.build.x86_64-linux;
|
2019-05-08 16:12:24 +00:00
|
|
|
|
2019-08-09 11:10:50 +00:00
|
|
|
defaultPackage = packages.hydra;
|
2019-05-08 16:12:24 +00:00
|
|
|
|
2019-08-09 11:10:50 +00:00
|
|
|
devShell = (import ./release.nix {
|
|
|
|
hydraSrc = inputs.self;
|
|
|
|
nixpkgs = inputs.nixpkgs;
|
|
|
|
shell = true;
|
|
|
|
inherit nix;
|
|
|
|
}).build.x86_64-linux;
|
|
|
|
|
|
|
|
};
|
2019-05-08 11:28:02 +00:00
|
|
|
}
|