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:
parent
de00ed15d3
commit
e0aaf05f4f
2 changed files with 97 additions and 4 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue