ci: simplify
This commit is contained in:
parent
0b6be71c48
commit
add9edcaca
8 changed files with 202 additions and 123 deletions
18
flake.nix
18
flake.nix
|
@ -58,6 +58,24 @@
|
|||
|
||||
nixosModules.default = import ./nix/module.nix self;
|
||||
|
||||
# For CI
|
||||
legacyPackages = forAllSystems (
|
||||
system:
|
||||
let
|
||||
pkgs = nixpkgsFor.${system};
|
||||
in
|
||||
{
|
||||
clippy-report = pkgs.callPackage ./nix/clippy.nix { inherit (self.packages.${system}) refraction; };
|
||||
|
||||
refraction-debug = (self.packages.${system}.refraction.override { lto = false; }).overrideAttrs (
|
||||
finalAttrs: _: {
|
||||
cargoBuildType = "debug";
|
||||
cargoCheckType = finalAttrs.cargoBuildType;
|
||||
}
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
packages = forAllSystems (
|
||||
system:
|
||||
let
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue