about summary refs log tree commit diff
path: root/pkgs/applications/audio/mixxx
diff options
context:
space:
mode:
authorC0D3 M4513R <28912031+C0D3-M4513R@users.noreply.github.com>2024-05-03 11:17:04 +0200
committerC0D3 M4513R <28912031+C0D3-M4513R@users.noreply.github.com>2024-05-03 19:24:49 +0200
commit6f2c152108738085d76bb6cf7e322330f2490c39 (patch)
treea45be33b01c78c3e264477b348f2a7f46dc12500 /pkgs/applications/audio/mixxx
parent754784d9f9495a183dd8f0ed8065e4b6eb909f24 (diff)
mixxx: add wrapGAppsHook3 to fix file dialog
Signed-off-by: C0D3 M4513R <28912031+C0D3-M4513R@users.noreply.github.com>
Diffstat (limited to 'pkgs/applications/audio/mixxx')
-rw-r--r--pkgs/applications/audio/mixxx/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/applications/audio/mixxx/default.nix b/pkgs/applications/audio/mixxx/default.nix
index 4abc6d4956f47..0ebc6c604bdc9 100644
--- a/pkgs/applications/audio/mixxx/default.nix
+++ b/pkgs/applications/audio/mixxx/default.nix
@@ -52,6 +52,7 @@
 , upower
 , vamp-plugin-sdk
 , wavpack
+, wrapGAppsHook3
 }:
 
 mkDerivation rec {
@@ -65,7 +66,9 @@ mkDerivation rec {
     hash = "sha256-JSWUzerm7D6AKq6g/9eRrt3EE2movRdM+VLUg07sLHo=";
   };
 
-  nativeBuildInputs = [ cmake pkg-config ];
+  nativeBuildInputs = [ cmake pkg-config wrapGAppsHook3 ];
+
+  dontWrapGApps = true;
 
   buildInputs = [
     chromaprint
@@ -118,9 +121,9 @@ mkDerivation rec {
     wavpack
   ];
 
-  qtWrapperArgs = [
-    "--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive"
-  ];
+  preFixup=''
+    qtWrapperArgs+=(--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive ''${gappsWrapperArgs[@]})
+  '';
 
   # mixxx installs udev rules to DATADIR instead of SYSCONFDIR
   # let's disable this and install udev rules manually via postInstall