about summary refs log tree commit diff
path: root/pkgs/desktops/gnome/apps
diff options
context:
space:
mode:
authoraleksana <me@aleksana.moe>2024-04-05 22:37:35 +0800
committeraleksana <me@aleksana.moe>2024-04-06 01:33:38 +0800
commit9dddc116d5153f0105150b53ff5558766d0e773a (patch)
treea201294aec6cdbef6417fbb692eab6954eaf8ce1 /pkgs/desktops/gnome/apps
parent67e2bc037137e4fdcf6b3132a4f54c165726500b (diff)
treewide: replace wrapGAppsHook with wrapGAppsHook4 for gtk4 apps
Diffstat (limited to 'pkgs/desktops/gnome/apps')
-rw-r--r--pkgs/desktops/gnome/apps/gnome-sound-recorder/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/desktops/gnome/apps/gnome-sound-recorder/default.nix b/pkgs/desktops/gnome/apps/gnome-sound-recorder/default.nix
index 81bec81cb41e2..5a6cab8177a9f 100644
--- a/pkgs/desktops/gnome/apps/gnome-sound-recorder/default.nix
+++ b/pkgs/desktops/gnome/apps/gnome-sound-recorder/default.nix
@@ -4,7 +4,7 @@
 , pkg-config
 , gettext
 , gobject-introspection
-, wrapGAppsHook
+, wrapGAppsHook4
 , gjs
 , glib
 , gtk4
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
     meson
     ninja
     gobject-introspection
-    wrapGAppsHook
+    wrapGAppsHook4
     python3
     desktop-file-utils
   ];
@@ -53,6 +53,8 @@ stdenv.mkDerivation rec {
 
   postPatch = ''
     chmod +x build-aux/meson_post_install.py
+    substituteInPlace build-aux/meson_post_install.py \
+      --replace-fail 'gtk-update-icon-cache' 'gtk4-update-icon-cache'
     patchShebangs build-aux/meson_post_install.py
   '';