From bbe8bb1c282409512ab33cf5b46cd0aee4f810ff Mon Sep 17 00:00:00 2001 From: Colin Date: Thu, 29 Feb 2024 18:49:22 +0000 Subject: [PATCH] hyprland: support cross-compilation --- .../applications/window-managers/hyprwm/hyprland/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/window-managers/hyprwm/hyprland/default.nix b/pkgs/applications/window-managers/hyprwm/hyprland/default.nix index a170ac760898..4d50b39ebeda 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