From f765c4f4e62a6ff0a70b71774f7cf373e0bfd1d4 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Sat, 14 Dec 2024 10:04:37 +0800 Subject: [PATCH] Revert "gnome-weather: remove absolute path in desktop entry" This mostly reverts commit dc278337657dcdfd (except the "--replace" -> "--replace-fail" part). Same as d37e098e8dc8ccf6 ('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. --- pkgs/by-name/gn/gnome-weather/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/gn/gnome-weather/package.nix b/pkgs/by-name/gn/gnome-weather/package.nix index edbfa6503a97..05b4eb9564c3 100644 --- a/pkgs/by-name/gn/gnome-weather/package.nix +++ b/pkgs/by-name/gn/gnome-weather/package.nix @@ -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