lix/flake.nix

36 lines
760 B
Nix
Raw Normal View History

2019-04-08 15:28:05 +00:00
{
name = "nix";
description = "The purely functional package manager";
2019-07-26 18:06:03 +00:00
edition = 201906;
2019-04-08 15:28:05 +00:00
inputs = [ "nixpkgs" ];
2019-04-16 14:29:44 +00:00
outputs = inputs: rec {
2019-04-08 15:28:05 +00:00
hydraJobs = import ./release.nix {
nix = inputs.self;
nixpkgs = inputs.nixpkgs;
2019-04-08 15:28:05 +00:00
};
2019-05-29 19:00:58 +00:00
checks = {
binaryTarball = hydraJobs.binaryTarball.x86_64-linux;
perlBindings = hydraJobs.perlBindings.x86_64-linux;
inherit (hydraJobs.tests) remoteBuilds nix-copy-closure;
setuid = hydraJobs.tests.setuid.x86_64-linux;
};
packages = {
nix = hydraJobs.build.x86_64-linux;
nix-perl-bindings = hydraJobs.perlBindings.x86_64-linux;
};
2019-04-08 15:28:05 +00:00
defaultPackage = packages.nix;
devShell = import ./shell.nix {
nixpkgs = inputs.nixpkgs;
};
2019-04-08 15:28:05 +00:00
};
}