1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 11:11:03 -04:00
nix/flake.nix

32 lines
704 B
Nix
Raw Normal View History

2019-04-08 11:28:05 -04:00
{
description = "The purely functional package manager";
2019-08-30 07:06:48 -04:00
edition = 201909;
2019-04-08 11:28:05 -04:00
2019-08-30 07:06:48 -04:00
outputs = { self, nixpkgs }: rec {
2019-04-08 11:28:05 -04:00
hydraJobs = import ./release.nix {
2019-08-30 07:06:48 -04:00
nix = self;
nixpkgs = nixpkgs;
2019-04-08 11:28:05 -04:00
};
2019-05-29 15:00:58 -04: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 11:28:05 -04:00
defaultPackage = packages.nix;
devShell = import ./shell.nix {
2019-08-30 07:06:48 -04:00
inherit nixpkgs;
};
2019-04-08 11:28:05 -04:00
};
}