about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAnders Kaseorg <andersk@mit.edu>2020-01-01 15:55:30 -0800
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2020-01-01 18:55:30 -0500
commit84c81a49294c2e60cc697899c1d1f7ff1da178fc (patch)
tree33e2dccadf4f7498893c63419abab2e61c2e58d0
parenta461f3fa9c44b892d798a3c935e7816d26f45f11 (diff)
rosegarden: Use wrapQtAppsHook (#76799)
Fixes this startup failure:

qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Aborted (core dumped)

Fixes #76639.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
-rw-r--r--pkgs/applications/audio/rosegarden/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/audio/rosegarden/default.nix b/pkgs/applications/audio/rosegarden/default.nix
index 9445bf3723c99..7c4cefb6ba4bc 100644
--- a/pkgs/applications/audio/rosegarden/default.nix
+++ b/pkgs/applications/audio/rosegarden/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, cmake, makedepend, perl, pkgconfig, qttools
+{ stdenv, fetchurl, cmake, makedepend, perl, pkgconfig, qttools, wrapQtAppsHook
 , dssi, fftwSinglePrec, ladspaH, ladspaPlugins, libjack2
 , liblo, liblrdf, libsamplerate, libsndfile, lirc ? null, qtbase }:
 
@@ -15,7 +15,8 @@ stdenv.mkDerivation (rec {
     substituteInPlace src/CMakeLists.txt --replace svnheader svnversion
   '';
 
-  nativeBuildInputs = [ cmake makedepend perl pkgconfig qttools ];
+  nativeBuildInputs =
+    [ cmake makedepend perl pkgconfig qttools wrapQtAppsHook ];
 
   buildInputs = [
     dssi