diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2019-10-10 23:58:45 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2019-10-10 23:58:45 +0200 |
commit | 3fc66462dee4f90608b25b0db8950230906bdf5b (patch) | |
tree | cda7e5107a22e1bb15730a192907d403fc3c3583 /pkgs/applications/audio | |
parent | 0a18e8f311a6408537acc9a93cceec8856798503 (diff) | |
download | nixpkgs-3fc66462dee4f90608b25b0db8950230906bdf5b.tar nixpkgs-3fc66462dee4f90608b25b0db8950230906bdf5b.tar.gz nixpkgs-3fc66462dee4f90608b25b0db8950230906bdf5b.tar.bz2 nixpkgs-3fc66462dee4f90608b25b0db8950230906bdf5b.tar.lz nixpkgs-3fc66462dee4f90608b25b0db8950230906bdf5b.tar.xz nixpkgs-3fc66462dee4f90608b25b0db8950230906bdf5b.tar.zst nixpkgs-3fc66462dee4f90608b25b0db8950230906bdf5b.zip |
qsynth: use qt5.mkDerivation
Fixes $ qsynth 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, take qt5.* attrs as input instead of the whole qt5 attrset itself.)
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/qsynth/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/applications/audio/qsynth/default.nix b/pkgs/applications/audio/qsynth/default.nix index 81b7e35b630..09ab372cf27 100644 --- a/pkgs/applications/audio/qsynth/default.nix +++ b/pkgs/applications/audio/qsynth/default.nix @@ -1,6 +1,8 @@ -{ stdenv, fetchurl, alsaLib, fluidsynth, libjack2, qt5, autoconf, pkgconfig }: +{ stdenv, fetchurl, alsaLib, fluidsynth, libjack2, autoconf, pkgconfig +, mkDerivation, qtbase, qttools, qtx11extras +}: -stdenv.mkDerivation rec { +mkDerivation rec { pname = "qsynth"; version = "0.5.7"; @@ -11,7 +13,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ autoconf pkgconfig ]; - buildInputs = [ alsaLib fluidsynth libjack2 qt5.qtbase qt5.qttools qt5.qtx11extras ]; + buildInputs = [ alsaLib fluidsynth libjack2 qtbase qttools qtx11extras ]; enableParallelBuilding = true; |