Merge pull request #72095 from jokogr/f/qt5ct-qmakeflags

qt5ct: qtsvg, qmakeFlags nixification
This commit is contained in:
Dmitry Kalinkin 2019-10-27 15:10:08 -04:00 committed by GitHub
commit f3a97b24cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ mkDerivation, lib, fetchurl, qtbase, qttools, qmake }:
{ mkDerivation, lib, fetchurl, qtbase, qtsvg, qttools, qmake }:
let inherit (lib) getDev; in
@ -13,16 +13,13 @@ mkDerivation rec {
nativeBuildInputs = [ qmake qttools ];
buildInputs = [ qtbase ];
buildInputs = [ qtbase qtsvg ];
qmakeFlags = [
"LRELEASE_EXECUTABLE=${getDev qttools}/bin/lrelease"
"PLUGINDIR=${placeholder "out"}/${qtbase.qtPluginPrefix}"
];
preConfigure = ''
qmakeFlags+=" PLUGINDIR=$out/$qtPluginPrefix"
'';
enableParallelBuilding = true;
meta = with lib; {