From dc278337657dcdfdf632109b0769384109a7ec0e Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Mon, 14 Oct 2024 21:11:42 +0200 Subject: [PATCH] gnome-weather: remove absolute path in desktop entry Signed-off-by: Sefa Eyeoglu --- pkgs/by-name/gn/gnome-weather/package.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-weather/package.nix b/pkgs/by-name/gn/gnome-weather/package.nix index 99a475963d3f..edbfa6503a97 100644 --- a/pkgs/by-name/gn/gnome-weather/package.nix +++ b/pkgs/by-name/gn/gnome-weather/package.nix @@ -55,8 +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 "Exec=@DATA_DIR@/@APP_ID@" \ - "Exec=$out/bin/gnome-weather" + --replace-fail "Exec=@DATA_DIR@/@APP_ID@" "Exec=gnome-weather" chmod +x meson_post_install.py patchShebangs meson_post_install.py