qt6.qtModule: be more verbose everywhere else too

This commit is contained in:
K900
2025-10-07 21:23:08 +03:00
parent 33c5fd0a77
commit 745d05cff5
+13 -10
View File
@@ -37,18 +37,21 @@ stdenv.mkDerivation (
(lib.warnIf (args ? qtInputs) "qt6.qtModule's qtInputs argument is deprecated" args.qtInputs or [ ])
++ (args.propagatedBuildInputs or [ ]);
cmakeFlags =
cmakeFlags = [
# be more verbose
"--log-level=STATUS"
# don't leak OS version into the final output
# https://bugreports.qt.io/browse/QTBUG-136060
[ "-DCMAKE_SYSTEM_VERSION=" ]
++ lib.optionals stdenv.hostPlatform.isDarwin [
"-DQT_NO_XCODE_MIN_VERSION_CHECK=ON"
# This is only used for the min version check, which we disabled above.
# When this variable is not set, cmake tries to execute xcodebuild
# to query the version.
"-DQT_INTERNAL_XCODE_VERSION=0.1"
]
++ args.cmakeFlags or [ ];
"-DCMAKE_SYSTEM_VERSION="
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
"-DQT_NO_XCODE_MIN_VERSION_CHECK=ON"
# This is only used for the min version check, which we disabled above.
# When this variable is not set, cmake tries to execute xcodebuild
# to query the version.
"-DQT_INTERNAL_XCODE_VERSION=0.1"
]
++ args.cmakeFlags or [ ];
moveToDev = false;