Revert "gnome-weather: remove absolute path in desktop entry" (#365082)

This commit is contained in:
Bobby Rong 2024-12-14 10:32:15 +08:00 committed by GitHub
commit 6160d771fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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