hyprland: use absolute uwsm paths in hyprland-uwsm.desktop (#508309)

This commit is contained in:
Masum Reza
2026-04-09 18:49:35 +00:00
committed by GitHub
+4
View File
@@ -33,6 +33,7 @@
re2,
systemd,
tomlplusplus,
uwsm,
wayland,
wayland-protocols,
wayland-scanner,
@@ -100,6 +101,9 @@ customStdenv.mkDerivation (finalAttrs: {
--replace-fail "@PREFIX@/" ""
substituteInPlace example/hyprland.desktop.in \
--replace-fail "@PREFIX@/" ""
substituteInPlace systemd/hyprland-uwsm.desktop \
--replace-fail "Exec=uwsm " "Exec=${lib.getExe uwsm} " \
--replace-fail "TryExec=uwsm" "TryExec=${lib.getExe uwsm}"
'';
# variables used by CMake, and shown in `hyprctl version`