hyprland: fix incorrect substituteInPlace pattern

Fixes plugin compilation due to incorrect paths. #480513
This commit is contained in:
Lin Xianyi
2026-01-17 18:43:55 +08:00
parent ef68e7d35b
commit ec0d4a304e
+2 -2
View File
@@ -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`