lix/flake.nix

31 lines
561 B
Nix
Raw Normal View History

2019-04-08 17:28:05 +02:00
{
name = "nix";
description = "The purely functional package manager";
2019-04-16 16:29:44 +02:00
epoch = 2019;
2019-04-08 17:28:05 +02:00
2019-04-16 16:29:44 +02:00
requires = [ "nixpkgs" ];
provides = deps: rec {
2019-04-08 17:28:05 +02:00
hydraJobs = import ./release.nix {
2019-04-16 16:29:44 +02:00
nix = deps.self;
nixpkgs = deps.nixpkgs;
2019-04-08 17:28:05 +02:00
};
checks.binaryTarball = hydraJobs.binaryTarball.x86_64-linux;
packages = {
nix = hydraJobs.build.x86_64-linux;
nix-perl-bindings = hydraJobs.perlBindings.x86_64-linux;
};
2019-04-08 17:28:05 +02:00
defaultPackage = packages.nix;
devShell = import ./shell.nix {
nixpkgs = deps.nixpkgs;
};
2019-04-08 17:28:05 +02:00
};
}