deepin.dtkwm: use qmakeFlags

This commit is contained in:
worldofpeace 2019-07-21 23:26:05 -04:00
parent 0f73418f43
commit 98656c95d8

View File

@ -23,12 +23,13 @@ mkDerivation rec {
qtx11extras
];
preConfigure = ''
qmakeFlags="$qmakeFlags \
QT_HOST_DATA=$out \
INCLUDE_INSTALL_DIR=$out/include \
LIB_INSTALL_DIR=$out/lib"
'';
outRef = placeholder "out";
qmakeFlags = [
"QT_HOST_DATA=${outRef}"
"INCLUDE_INSTALL_DIR=${outRef}/include"
"LIB_INSTALL_DIR=${outRef}/lib"
];
passthru.updateScript = deepin.updateScript { inherit name; };