qtikz: proper Qt dependencies

This commit is contained in:
Thomas Tuegel 2020-09-07 10:37:48 -05:00
parent a811e37d1c
commit 0368d93a9e
No known key found for this signature in database
GPG Key ID: 22CBF5249D4B4D59

View File

@ -1,6 +1,7 @@
{ stdenv, fetchFromGitHub, fetchpatch { stdenv, fetchFromGitHub, fetchpatch
, pkgconfig, wrapQtAppsHook , pkgconfig, wrapQtAppsHook
, poppler, qt5, gnuplot , poppler, gnuplot
, qmake, qtbase, qttools
}: }:
# This package only builds ktikz without KDE integration because KDE4 is # This package only builds ktikz without KDE integration because KDE4 is
@ -36,10 +37,10 @@ stdenv.mkDerivation rec {
}) })
]; ];
nativeBuildInputs = [ pkgconfig qt5.qttools qt5.qmake wrapQtAppsHook ]; nativeBuildInputs = [ pkgconfig qttools qmake wrapQtAppsHook ];
QT_PLUGIN_PATH = "${qt5.qtbase}/${qt5.qtbase.qtPluginPrefix}"; QT_PLUGIN_PATH = "${qtbase}/${qtbase.qtPluginPrefix}";
buildInputs = [ qt5.qtbase poppler ]; buildInputs = [ qtbase poppler ];
enableParallelBuilding = true; enableParallelBuilding = true;
qmakeFlags = [ qmakeFlags = [