muse: Use wrapQtAppsHook.

Fixes this error:

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)

Also, remove the unnecessary build input `gitFull`, and enable
parallel building.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg 2019-12-09 15:30:26 -08:00
parent 2e8fc97dbf
commit 1bcb6fb027
2 changed files with 8 additions and 18 deletions

View file

@ -1,7 +1,9 @@
{ stdenv
, fetchFromGitHub
, libjack2
, qt5
, wrapQtAppsHook
, qtsvg
, qttools
, cmake
, libsndfile
, libsamplerate
@ -13,7 +15,6 @@
, dssi
, liblo
, pkgconfig
, gitAndTools
}:
stdenv.mkDerivation {
@ -45,14 +46,14 @@ stdenv.mkDerivation {
nativeBuildInputs = [
pkgconfig
gitAndTools.gitFull
wrapQtAppsHook
qttools
cmake
];
buildInputs = [
libjack2
qt5.qtsvg
qt5.qttools
cmake
qtsvg
libsndfile
libsamplerate
ladspaH
@ -65,15 +66,4 @@ stdenv.mkDerivation {
];
sourceRoot = "source/muse3";
buildPhase = ''
cd ..
bash compile_muse.sh
'';
installPhase = ''
mkdir $out
cd build
make install
'';
}

View file

@ -24754,7 +24754,7 @@ in
mupen64plus = callPackage ../misc/emulators/mupen64plus { };
muse = callPackage ../applications/audio/muse { };
muse = libsForQt5.callPackage ../applications/audio/muse { };
musly = callPackage ../applications/audio/musly { };