Revert "gnome-weather: remove absolute path in desktop entry"

This mostly reverts commit dc27833765 (except the "--replace" ->
"--replace-fail" part).

Same as d37e098e8d ('Revert "gnome-maps: remove absolute path in
desktop entry"'), this is not a desktop entry and dbus files should
contain full path to the application to start.

Closes #357955.
This commit is contained in:
Bobby Rong
2024-12-14 10:10:05 +08:00
parent 5d67ea6b4b
commit f765c4f4e6
+1 -1
View File
@@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
# entry point to the wrapped binary we get back to a wrapped
# binary.
substituteInPlace "data/org.gnome.Weather.service.in" \
--replace-fail "Exec=@DATA_DIR@/@APP_ID@" "Exec=gnome-weather"
--replace-fail "Exec=@DATA_DIR@/@APP_ID@" "Exec=$out/bin/gnome-weather"
chmod +x meson_post_install.py
patchShebangs meson_post_install.py