qtbase: Check for wrapQtAppsHook in setupHook

This commit is contained in:
Thomas Tuegel
2021-01-25 15:56:15 -06:00
parent 67b7cffaec
commit 5590e365e4
109 changed files with 225 additions and 8 deletions
@@ -19,6 +19,8 @@ stdenv.mkDerivation rec {
sha256 = "0h4wgngn2yl35hapbjs24amkjfbzsvnna4ixfhn87snjnq5lmjbc"; # v0.9.1
};
dontWrapQtApps = true;
patches = (if withQt5 then [] else [ ./0001-Fixes-build-with-Qt4.patch ]) ++ (if stdenv.isDarwin then [ ./0002-Fix-install-name-Darwin.patch ] else []);
cmakeFlags = [ "-DQT_TRANSLATIONS_DIR=share/qt/translations" ];