1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

Add 'nix flake check' command

This evaluates all the 'provides' of a flake and builds the 'check'
attributes.
This commit is contained in:
Eelco Dolstra 2019-05-29 17:25:41 +02:00
parent de00ed15d3
commit e0aaf05f4f
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 97 additions and 4 deletions

View file

@ -14,13 +14,17 @@
nixpkgs = deps.nixpkgs;
};
packages.nix = hydraJobs.build.x86_64-linux;
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;
};
};
}