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>
This commit is contained in:
Anders Kaseorg 2020-01-01 15:55:30 -08:00 committed by Dmitry Kalinkin
parent a461f3fa9c
commit 84c81a4929

View File

@ -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