forked from lix-project/lix
e0aaf05f4f
This evaluates all the 'provides' of a flake and builds the 'check' attributes.
31 lines
561 B
Nix
31 lines
561 B
Nix
{
|
|
name = "nix";
|
|
|
|
description = "The purely functional package manager";
|
|
|
|
epoch = 2019;
|
|
|
|
requires = [ "nixpkgs" ];
|
|
|
|
provides = deps: rec {
|
|
|
|
hydraJobs = import ./release.nix {
|
|
nix = deps.self;
|
|
nixpkgs = deps.nixpkgs;
|
|
};
|
|
|
|
checks.binaryTarball = hydraJobs.binaryTarball.x86_64-linux;
|
|
|
|
packages = {
|
|
nix = hydraJobs.build.x86_64-linux;
|
|
nix-perl-bindings = hydraJobs.perlBindings.x86_64-linux;
|
|
};
|
|
|
|
defaultPackage = packages.nix;
|
|
|
|
devShell = import ./shell.nix {
|
|
nixpkgs = deps.nixpkgs;
|
|
};
|
|
};
|
|
}
|