From 3fc66462dee4f90608b25b0db8950230906bdf5b Mon Sep 17 00:00:00 2001 From: Bjørn Forsman Date: Thu, 10 Oct 2019 23:58:45 +0200 Subject: 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.) --- pkgs/applications/audio/qsynth/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'pkgs/applications/audio/qsynth/default.nix') 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; -- cgit 1.4.1