deepin.dtkcore: explicitly set DTK_VERSION
The build system fails to detect the version to build, defaulting to the minimum one. To circunvent that it has to be explicitly set.
This commit is contained in:
parent
880bc93fc0
commit
27170f9619
@ -30,7 +30,10 @@ stdenv.mkDerivation rec {
|
|||||||
sed -i tools/script/dtk-translate.py -e "s,#!env,#!/usr/bin/env,"
|
sed -i tools/script/dtk-translate.py -e "s,#!env,#!/usr/bin/env,"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
qmakeFlags = [ "MKSPECS_INSTALL_DIR=${placeholder "out"}/mkspecs" ];
|
qmakeFlags = [
|
||||||
|
"DTK_VERSION=${version}"
|
||||||
|
"MKSPECS_INSTALL_DIR=${placeholder "out"}/mkspecs"
|
||||||
|
];
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
chmod +x $out/lib/dtk2/*.py
|
chmod +x $out/lib/dtk2/*.py
|
||||||
|
Loading…
x
Reference in New Issue
Block a user