hydra/flake.nix

32 lines
654 B
Nix
Raw Normal View History

2019-05-08 11:28:02 +00:00
{
name = "hydra";
description = "A Nix-based continuous build system";
epoch = 2019;
2019-05-22 12:44:10 +00:00
requires = [ "nixpkgs" "nix" ];
2019-05-08 11:28:02 +00:00
provides = deps: rec {
hydraJobs = import ./release.nix {
hydraSrc = deps.self;
nixpkgs = deps.nixpkgs;
2019-05-22 12:44:10 +00:00
nix = deps.nix.provides.hydraJobs.build.x86_64-linux // {
perl-bindings = deps.nix.provides.hydraJobs.perlBindings.x86_64-linux;
};
2019-05-08 11:28:02 +00:00
};
packages.hydra = hydraJobs.build.x86_64-linux;
defaultPackage = packages.hydra;
devShell = (import ./release.nix {
hydraSrc = deps.self;
nixpkgs = deps.nixpkgs;
shell = true;
}).build.x86_64-linux;
2019-05-08 11:28:02 +00:00
};
}