2019-04-08 18:28:05 +03:00
|
|
|
{
|
|
|
|
name = "nix";
|
|
|
|
|
|
|
|
description = "The purely functional package manager";
|
|
|
|
|
2019-07-26 21:06:03 +03:00
|
|
|
edition = 201906;
|
2019-04-08 18:28:05 +03:00
|
|
|
|
2019-05-30 00:09:23 +03:00
|
|
|
inputs = [ "nixpkgs" ];
|
2019-04-16 17:29:44 +03:00
|
|
|
|
2019-05-30 00:09:23 +03:00
|
|
|
outputs = inputs: rec {
|
2019-04-08 18:28:05 +03:00
|
|
|
|
|
|
|
hydraJobs = import ./release.nix {
|
2019-05-30 00:09:23 +03:00
|
|
|
nix = inputs.self;
|
|
|
|
nixpkgs = inputs.nixpkgs;
|
2019-04-08 18:28:05 +03:00
|
|
|
};
|
|
|
|
|
2019-05-29 22:00:58 +03: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;
|
|
|
|
};
|
2019-05-29 18:25:41 +03:00
|
|
|
|
|
|
|
packages = {
|
|
|
|
nix = hydraJobs.build.x86_64-linux;
|
|
|
|
nix-perl-bindings = hydraJobs.perlBindings.x86_64-linux;
|
|
|
|
};
|
2019-04-08 18:28:05 +03:00
|
|
|
|
2019-04-09 00:47:29 +03:00
|
|
|
defaultPackage = packages.nix;
|
2019-05-02 22:10:13 +03:00
|
|
|
|
|
|
|
devShell = import ./shell.nix {
|
2019-05-30 00:09:23 +03:00
|
|
|
nixpkgs = inputs.nixpkgs;
|
2019-05-02 22:10:13 +03:00
|
|
|
};
|
2019-04-08 18:28:05 +03:00
|
|
|
};
|
|
|
|
}
|