mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
deepin.dtkwm: use qmakeFlags
This commit is contained in:
parent
0f73418f43
commit
98656c95d8
@ -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; };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user