diff options
author | Anders Kaseorg <andersk@mit.edu> | 2019-12-09 15:30:26 -0800 |
---|---|---|
committer | Anders Kaseorg <andersk@mit.edu> | 2020-01-06 18:16:29 -0800 |
commit | 1bcb6fb02704e1ae3046eadd99b40be607d4cb49 (patch) | |
tree | e1b6056924109fe2a7869a336f3a894ada0df606 /pkgs/applications | |
parent | 2e8fc97dbfacc1178ae846ab31210539f7a958f0 (diff) | |
download | nixpkgs-1bcb6fb02704e1ae3046eadd99b40be607d4cb49.tar nixpkgs-1bcb6fb02704e1ae3046eadd99b40be607d4cb49.tar.gz nixpkgs-1bcb6fb02704e1ae3046eadd99b40be607d4cb49.tar.bz2 nixpkgs-1bcb6fb02704e1ae3046eadd99b40be607d4cb49.tar.lz nixpkgs-1bcb6fb02704e1ae3046eadd99b40be607d4cb49.tar.xz nixpkgs-1bcb6fb02704e1ae3046eadd99b40be607d4cb49.tar.zst nixpkgs-1bcb6fb02704e1ae3046eadd99b40be607d4cb49.zip |
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>
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/audio/muse/default.nix | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/pkgs/applications/audio/muse/default.nix b/pkgs/applications/audio/muse/default.nix index 372c8faf773..f1fad05bece 100644 --- a/pkgs/applications/audio/muse/default.nix +++ b/pkgs/applications/audio/muse/default.nix @@ -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 - ''; } |