From ec0d4a304ef1e8dd2fb0d8e7c00089d1e815379b Mon Sep 17 00:00:00 2001 From: Lin Xianyi Date: Sat, 17 Jan 2026 18:43:55 +0800 Subject: [PATCH] hyprland: fix incorrect substituteInPlace pattern Fixes plugin compilation due to incorrect paths. #480513 --- pkgs/by-name/hy/hyprland/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/hy/hyprland/package.nix b/pkgs/by-name/hy/hyprland/package.nix index 215cc6a4560b..4367c0017790 100644 --- a/pkgs/by-name/hy/hyprland/package.nix +++ b/pkgs/by-name/hy/hyprland/package.nix @@ -108,9 +108,9 @@ customStdenv.mkDerivation (finalAttrs: { # Remove extra @PREFIX@ to fix pkg-config paths substituteInPlace hyprland.pc.in \ - --replace-fail @PREFIX@ "" + --replace-fail "@PREFIX@/" "" substituteInPlace example/hyprland.desktop.in \ - --replace-fail @PREFIX@ "" + --replace-fail "@PREFIX@/" "" ''; # variables used by CMake, and shown in `hyprctl version`