about summary refs log tree commit diff
path: root/pkgs/applications/audio/parlatype
diff options
context:
space:
mode:
authorAleksana <me@aleksana.moe>2024-04-07 11:12:48 +0800
committerGitHub <noreply@github.com>2024-04-07 11:12:48 +0800
commit7b01c27540b2b3e013f8b8595fdafb6c96175465 (patch)
tree067ff230ac55d904c028c547e4c5e222efbf3c2d /pkgs/applications/audio/parlatype
parenta397d87aa08e65448c284e412a408bce4c68de55 (diff)
parent9dddc116d5153f0105150b53ff5558766d0e773a (diff)
Merge pull request #301865 from Aleksanaa/wrapGAppsHook4-fix
treewide: replace wrapGAppsHook with wrapGAppsHook4 for gtk4 apps
Diffstat (limited to 'pkgs/applications/audio/parlatype')
-rw-r--r--pkgs/applications/audio/parlatype/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/audio/parlatype/default.nix b/pkgs/applications/audio/parlatype/default.nix
index bb5bf0e9ddfe6..927de1d938569 100644
--- a/pkgs/applications/audio/parlatype/default.nix
+++ b/pkgs/applications/audio/parlatype/default.nix
@@ -16,7 +16,7 @@
 , ninja
 , pkg-config
 , python3
-, wrapGAppsHook
+, wrapGAppsHook4
 }:
 
 stdenv.mkDerivation rec {
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
     ninja
     pkg-config
     python3
-    wrapGAppsHook
+    wrapGAppsHook4
   ];
 
   buildInputs = [
@@ -58,6 +58,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
   '';