about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorColin <colin@uninsane.org>2024-02-29 18:49:22 +0000
committerJörg Thalheim <joerg@thalheim.io>2024-05-01 08:58:24 +0200
commitbbe8bb1c282409512ab33cf5b46cd0aee4f810ff (patch)
treeec26349a297930b35f2b1d087f2a9dc83631195f /pkgs
parent3175915a176486dc96bcdecb752549cfea264c8b (diff)
hyprland: support cross-compilation
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/window-managers/hyprwm/hyprland/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/hyprwm/hyprland/default.nix b/pkgs/applications/window-managers/hyprwm/hyprland/default.nix
index a170ac7608988..4d50b39ebedad 100644
--- a/pkgs/applications/window-managers/hyprwm/hyprland/default.nix
+++ b/pkgs/applications/window-managers/hyprwm/hyprland/default.nix
@@ -77,6 +77,11 @@ stdenv.mkDerivation (finalAttrs: {
       --replace "@DIRTY@" ""
   '';
 
+  depsBuildBuild = [
+    # to find wayland-scanner when cross-compiling
+    pkg-config
+  ];
+
   nativeBuildInputs = [
     jq
     makeWrapper