mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -06:00
make checks build needed software
This commit is contained in:
parent
c825262a72
commit
c51da5dacf
2 changed files with 20 additions and 4 deletions
|
@ -1,6 +1,15 @@
|
|||
{ inputs, pkgs }:
|
||||
{ inputs, system }:
|
||||
let
|
||||
pkgs = import inputs.nixpkgs {
|
||||
inherit system;
|
||||
overlays = [
|
||||
inputs.lix-module.overlays.default
|
||||
inputs.hyprland-contrib.overlays.default
|
||||
inputs.nixpkgs-wayland.overlay
|
||||
];
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
makePackages =
|
||||
pkgs.runCommandLocal "build-third-party"
|
||||
{
|
||||
|
@ -8,6 +17,8 @@
|
|||
nativeBuildInputs = [
|
||||
pkgs.pixi
|
||||
pkgs.swww
|
||||
pkgs.xdg-desktop-portal-hyprland
|
||||
pkgs.nixVersions.stable
|
||||
|
||||
inputs.tsm.packages.${pkgs.system}.default
|
||||
inputs.hyprman.packages.${pkgs.system}.default
|
||||
|
|
|
@ -34,7 +34,6 @@ let
|
|||
../overlays
|
||||
inputs.lix-module.nixosModules.default
|
||||
] ++ filter isNixFile (listFilesRecursive (../. + "/hosts/${hostName}"));
|
||||
|
||||
specialArgs = {
|
||||
inherit
|
||||
inputs
|
||||
|
@ -68,7 +67,13 @@ in
|
|||
];
|
||||
};
|
||||
});
|
||||
checks = forAllSystems (pkgs: import ./checks.nix { inherit pkgs inputs; });
|
||||
checks = forAllSystems (
|
||||
pkgs:
|
||||
import ./checks.nix {
|
||||
inherit inputs;
|
||||
system = pkgs.system;
|
||||
}
|
||||
);
|
||||
formatter = forAllSystems (pkgs: pkgs.nixfmt-rfc-style);
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue