qt6: disable xcode version check on Darwin
We use xcbuild, not official xcode.
This commit is contained in:
@@ -275,6 +275,7 @@ stdenv.mkDerivation rec {
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
"-DQT_FEATURE_rpath=OFF"
|
||||
"-DQT_NO_XCODE_MIN_VERSION_CHECK=ON"
|
||||
]
|
||||
++ lib.optionals isCrossBuild [
|
||||
"-DQT_HOST_PATH=${pkgsBuildBuild.qt6.qtbase}"
|
||||
|
||||
@@ -38,6 +38,9 @@ stdenv.mkDerivation (
|
||||
(lib.warnIf (args ? qtInputs) "qt6.qtModule's qtInputs argument is deprecated" args.qtInputs or [ ])
|
||||
++ (args.propagatedBuildInputs or [ ]);
|
||||
|
||||
cmakeFlags = args.cmakeFlags or [ ]
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin "-DQT_NO_XCODE_MIN_VERSION_CHECK=ON";
|
||||
|
||||
moveToDev = false;
|
||||
|
||||
outputs =
|
||||
|
||||
Reference in New Issue
Block a user