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