about summary refs log tree commit diff
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authoraleksana2024-04-05 22:37:35 +0800
committeraleksana2024-04-06 01:33:38 +0800
commit9dddc116d5153f0105150b53ff5558766d0e773a (patch)
treea201294aec6cdbef6417fbb692eab6954eaf8ce1 /pkgs/applications/audio
parent67e2bc037137e4fdcf6b3132a4f54c165726500b (diff)
treewide: replace wrapGAppsHook with wrapGAppsHook4 for gtk4 apps
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/parlatype/default.nix6
-rw-r--r--pkgs/applications/audio/zrythm/default.nix4
2 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/applications/audio/parlatype/default.nix b/pkgs/applications/audio/parlatype/default.nix
index d05130de4124..965ada75d255 100644
--- a/pkgs/applications/audio/parlatype/default.nix
+++ b/pkgs/applications/audio/parlatype/default.nix
@@ -15,7 +15,7 @@
 , ninja
 , pkg-config
 , python3
-, wrapGAppsHook
+, wrapGAppsHook4
 }:
 
 stdenv.mkDerivation rec {
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
     ninja
     pkg-config
     python3
-    wrapGAppsHook
+    wrapGAppsHook4
   ];
 
   buildInputs = [
@@ -56,6 +56,8 @@ stdenv.mkDerivation rec {
   ];
 
   postPatch = ''
+    substituteInPlace data/meson_post_install.py \
+      --replace-fail 'gtk-update-icon-cache' 'gtk4-update-icon-cache'
     patchShebangs data/meson_post_install.py
     patchShebangs libparlatype/tests/data/generate_config_data
   '';
diff --git a/pkgs/applications/audio/zrythm/default.nix b/pkgs/applications/audio/zrythm/default.nix
index 254e0e5b746d..663c159d5d9b 100644
--- a/pkgs/applications/audio/zrythm/default.nix
+++ b/pkgs/applications/audio/zrythm/default.nix
@@ -64,7 +64,7 @@
 , sratom
 , texi2html
 , vamp-plugin-sdk
-, wrapGAppsHook
+, wrapGAppsHook4
 , xdg-utils
 , xxHash
 , zix
@@ -112,7 +112,7 @@ stdenv.mkDerivation rec {
     python3.pkgs.sphinx
     sassc
     texi2html
-    wrapGAppsHook
+    wrapGAppsHook4
   ];
 
   buildInputs = [