ci: simplify

This commit is contained in:
seth 2024-08-06 23:59:03 -04:00 committed by Sefa Eyeoglu
parent 0b6be71c48
commit add9edcaca
8 changed files with 202 additions and 123 deletions

View file

@ -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