mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-05 11:45:59 +01:00
Nix: also test cross build
This commit is contained in:
parent
caaa9b11e4
commit
32a8caf7e7
2 changed files with 11 additions and 1 deletions
10
flake.nix
10
flake.nix
|
@ -67,6 +67,15 @@
|
||||||
hyprland-extras
|
hyprland-extras
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
pkgsCrossFor = eachSystem (system: crossSystem:
|
||||||
|
import nixpkgs {
|
||||||
|
localSystem = system;
|
||||||
|
crossSystem = crossSystem;
|
||||||
|
overlays = with self.overlays; [
|
||||||
|
hyprland-packages
|
||||||
|
hyprland-extras
|
||||||
|
];
|
||||||
|
});
|
||||||
in {
|
in {
|
||||||
overlays = import ./nix/overlays.nix {inherit self lib inputs;};
|
overlays = import ./nix/overlays.nix {inherit self lib inputs;};
|
||||||
|
|
||||||
|
@ -92,6 +101,7 @@
|
||||||
|
|
||||||
xdg-desktop-portal-hyprland
|
xdg-desktop-portal-hyprland
|
||||||
;
|
;
|
||||||
|
hyprland-cross = (pkgsCrossFor.${system} "aarch64-linux").hyprland;
|
||||||
});
|
});
|
||||||
|
|
||||||
devShells = eachSystem (system: {
|
devShells = eachSystem (system: {
|
||||||
|
|
|
@ -102,7 +102,6 @@ in
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
python3 # for udis86
|
python3 # for udis86
|
||||||
wayland-scanner
|
|
||||||
];
|
];
|
||||||
|
|
||||||
outputs = [
|
outputs = [
|
||||||
|
@ -130,6 +129,7 @@ in
|
||||||
tomlplusplus
|
tomlplusplus
|
||||||
wayland
|
wayland
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
|
wayland-scanner
|
||||||
xorg.libXcursor
|
xorg.libXcursor
|
||||||
]
|
]
|
||||||
(optionals customStdenv.hostPlatform.isMusl [libexecinfo])
|
(optionals customStdenv.hostPlatform.isMusl [libexecinfo])
|
||||||
|
|
Loading…
Reference in a new issue