Nix: also test cross build

This commit is contained in:
Jörg Thalheim
2024-06-06 10:07:53 +02:00
committed by Mihai Fufezan
parent caaa9b11e4
commit 32a8caf7e7
2 changed files with 11 additions and 1 deletions

View File

@@ -67,6 +67,15 @@
hyprland-extras
];
});
pkgsCrossFor = eachSystem (system: crossSystem:
import nixpkgs {
localSystem = system;
crossSystem = crossSystem;
overlays = with self.overlays; [
hyprland-packages
hyprland-extras
];
});
in {
overlays = import ./nix/overlays.nix {inherit self lib inputs;};
@@ -92,6 +101,7 @@
xdg-desktop-portal-hyprland
;
hyprland-cross = (pkgsCrossFor.${system} "aarch64-linux").hyprland;
});
devShells = eachSystem (system: {