mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 10:10:45 -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 =
|
makePackages =
|
||||||
pkgs.runCommandLocal "build-third-party"
|
pkgs.runCommandLocal "build-third-party"
|
||||||
{
|
{
|
||||||
|
@ -8,6 +17,8 @@
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgs.pixi
|
pkgs.pixi
|
||||||
pkgs.swww
|
pkgs.swww
|
||||||
|
pkgs.xdg-desktop-portal-hyprland
|
||||||
|
pkgs.nixVersions.stable
|
||||||
|
|
||||||
inputs.tsm.packages.${pkgs.system}.default
|
inputs.tsm.packages.${pkgs.system}.default
|
||||||
inputs.hyprman.packages.${pkgs.system}.default
|
inputs.hyprman.packages.${pkgs.system}.default
|
||||||
|
|
|
@ -34,7 +34,6 @@ let
|
||||||
../overlays
|
../overlays
|
||||||
inputs.lix-module.nixosModules.default
|
inputs.lix-module.nixosModules.default
|
||||||
] ++ filter isNixFile (listFilesRecursive (../. + "/hosts/${hostName}"));
|
] ++ filter isNixFile (listFilesRecursive (../. + "/hosts/${hostName}"));
|
||||||
|
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit
|
inherit
|
||||||
inputs
|
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);
|
formatter = forAllSystems (pkgs: pkgs.nixfmt-rfc-style);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue