lix/flake.nix
Eelco Dolstra 80c36d4562 Remove 'name' attribute from flakes
This is no longer needed since flakes are given an identity in the
'inputs' attribute.
2019-08-30 16:38:27 +02:00

32 lines
704 B
Nix

{
description = "The purely functional package manager";
edition = 201909;
outputs = { self, nixpkgs }: rec {
hydraJobs = import ./release.nix {
nix = self;
nixpkgs = nixpkgs;
};
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;
};
defaultPackage = packages.nix;
devShell = import ./shell.nix {
inherit nixpkgs;
};
};
}