qtbase: avoid rebuilding versions < 5.15
This commit is contained in:
parent
27b6cf2445
commit
5b22f14d38
@ -115,7 +115,7 @@ stdenv.mkDerivation {
|
||||
sed -i '/PATHS.*NO_DEFAULT_PATH/ d' src/corelib/Qt5CoreMacros.cmake
|
||||
sed -i 's/NO_DEFAULT_PATH//' src/gui/Qt5GuiConfigExtras.cmake.in
|
||||
sed -i '/PATHS.*NO_DEFAULT_PATH/ d' mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
|
||||
|
||||
'' + lib.optionalString (compareVersion "5.15.0" >= 0) ''
|
||||
patchShebangs ./bin
|
||||
'' + (
|
||||
if stdenv.isDarwin then ''
|
||||
@ -151,10 +151,8 @@ stdenv.mkDerivation {
|
||||
''}
|
||||
|
||||
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QT_PLUGIN_PREFIX=\"$qtPluginPrefix\""
|
||||
|
||||
${lib.optionalString (compareVersion "5.15.0" >= 0) ''
|
||||
'' + lib.optionalString (compareVersion "5.15.0" >= 0) ''
|
||||
./bin/syncqt.pl -version $version
|
||||
''}
|
||||
'';
|
||||
|
||||
postConfigure = ''
|
||||
|
Loading…
Reference in New Issue
Block a user