deepin.qt5dxcb-plugin: use qmakeFlags

This commit is contained in:
worldofpeace 2019-07-21 23:23:25 -04:00
parent 735199a210
commit 0f73418f43

@ -1,5 +1,5 @@
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, qtx11extras, libSM,
mtdev, cairo, deepin }:
mtdev, cairo, deepin, qtbase }:
mkDerivation rec {
name = "${pname}-${version}";
@ -25,9 +25,9 @@ mkDerivation rec {
cairo
];
preConfigure = ''
qmakeFlags="$qmakeFlags INSTALL_PATH=$out/$qtPluginPrefix/platforms"
'';
qmakeFlags = [
"INSTALL_PATH=${placeholder ''out''}/${qtbase.qtPluginPrefix}/platforms"
];
enableParallelBuilding = true;