hydra/flake.nix
2019-05-08 18:12:24 +02:00

29 lines
496 B
Nix

{
name = "hydra";
description = "A Nix-based continuous build system";
epoch = 2019;
requires = [ "nixpkgs" ];
provides = deps: rec {
hydraJobs = import ./release.nix {
hydraSrc = deps.self;
nixpkgs = deps.nixpkgs;
};
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;
};
}