diff options
author | Jörg Thalheim <[email protected]> | 2024-06-06 10:07:53 +0200 |
---|---|---|
committer | Mihai Fufezan <[email protected]> | 2024-09-26 21:17:07 +0300 |
commit | 32a8caf7e7a0609629eb08c91de9f9b23a10c455 (patch) | |
tree | 1d4fbc440253b57ae90356b11b2e65e80c5438f3 | |
parent | caaa9b11e4763ed0367f81bf97ceaad5175806fc (diff) | |
download | Hyprland-32a8caf7e7a0609629eb08c91de9f9b23a10c455.tar.gz Hyprland-32a8caf7e7a0609629eb08c91de9f9b23a10c455.zip |
Nix: also test cross build
-rw-r--r-- | flake.nix | 10 | ||||
-rw-r--r-- | nix/default.nix | 2 |
2 files changed, 11 insertions, 1 deletions
@@ -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: { diff --git a/nix/default.nix b/nix/default.nix index 40675d9a..be7394e4 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -102,7 +102,6 @@ in ninja pkg-config python3 # for udis86 - wayland-scanner ]; outputs = [ @@ -130,6 +129,7 @@ in tomlplusplus wayland wayland-protocols + wayland-scanner xorg.libXcursor ] (optionals customStdenv.hostPlatform.isMusl [libexecinfo]) |