From 8d72d191cbb1168daf6d7e2d28e0f5b8f73584c6 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Tue, 18 Oct 2022 08:10:36 +0200 Subject: [PATCH] gnome-weather: add darwin support --- pkgs/desktops/gnome/apps/gnome-weather/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/desktops/gnome/apps/gnome-weather/default.nix b/pkgs/desktops/gnome/apps/gnome-weather/default.nix index bc0fec6cfa71..1e7860a69787 100644 --- a/pkgs/desktops/gnome/apps/gnome-weather/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-weather/default.nix @@ -5,7 +5,7 @@ , gnome , gtk4 , libadwaita -, wrapGAppsHook +, wrapGAppsHook4 , gjs , gobject-introspection , libgweather @@ -29,7 +29,7 @@ stdenv.mkDerivation rec { pkg-config meson ninja - wrapGAppsHook + wrapGAppsHook4 python3 gobject-introspection gjs @@ -56,6 +56,8 @@ stdenv.mkDerivation rec { chmod +x meson_post_install.py patchShebangs meson_post_install.py + substituteInPlace meson_post_install.py \ + --replace gtk-update-icon-cache gtk4-update-icon-cache ''; passthru = { @@ -70,6 +72,6 @@ stdenv.mkDerivation rec { description = "Access current weather conditions and forecasts"; maintainers = teams.gnome.members; license = licenses.gpl2Plus; - platforms = platforms.linux; + platforms = platforms.unix; }; }