qtwebapp: bump cxx version used for darwin (#547524)

This commit is contained in:
Weijia Wang
2026-08-09 15:03:54 +00:00
committed by GitHub

View File

@@ -27,6 +27,11 @@ stdenv.mkDerivation (finalAttrs: {
INSTALLS += target
}
EOF
''
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
substituteInPlace QtWebApp.pro \
--replace-fail "QMAKE_CXXFLAGS += -std=c++11" "QMAKE_CXXFLAGS += -std=c++20" \
--replace-fail "CONFIG += c++11" "CONFIG += c++20"
'';
nativeBuildInputs = [