From e0832b878323bd1236a6d2be42359f5741e0398b Mon Sep 17 00:00:00 2001 From: Sergei Volkov Date: Tue, 4 Aug 2026 20:57:11 +0200 Subject: [PATCH] hyprland: fix build by relaxing glaze dependency --- pkgs/by-name/hy/hyprland/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/hy/hyprland/package.nix b/pkgs/by-name/hy/hyprland/package.nix index 8368cf477579..912078403c4c 100644 --- a/pkgs/by-name/hy/hyprland/package.nix +++ b/pkgs/by-name/hy/hyprland/package.nix @@ -96,6 +96,11 @@ customStdenv.mkDerivation (finalAttrs: { }; postPatch = '' + # Relax glaze dependency + # FIXME: this shouldn't be needed once the upstream code will adopt it + substituteInPlace CMakeLists.txt start/CMakeLists.txt hyprpm/CMakeLists.txt \ + --replace-fail "glaze 7...<8" "glaze" + # Fix hardcoded paths to /usr installation substituteInPlace src/render/types.hpp \ --replace-fail /usr $out