qt6.qtwebengine: fix QtWebEngine build crash

QtWebEngine tries to build with clang 14, which links libc++ 14, but the
top-level libc++ on Dariwn is libc++ 16. This results in a crash during
the build, which is fixed by building with the default stdenv.
This commit is contained in:
Randy Eckenrode 2023-10-30 22:20:37 -04:00
parent 135430eb60
commit 1c1ce083f7
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9
2 changed files with 1 additions and 3 deletions

View File

@ -141,7 +141,7 @@ let
qtwebchannel = callPackage ./modules/qtwebchannel.nix { };
qtwebengine = callPackage ./modules/qtwebengine.nix {
inherit (darwin) bootstrap_cmds cctools xnu;
inherit (darwin.apple_sdk_11_0) libpm libunwind llvmPackages_14;
inherit (darwin.apple_sdk_11_0) libpm libunwind;
inherit (darwin.apple_sdk_11_0.libs) sandbox;
inherit (darwin.apple_sdk_11_0.frameworks)
AGL AVFoundation Accelerate Cocoa CoreLocation CoreML ForceFeedback

View File

@ -60,7 +60,6 @@
, mesa
, enableProprietaryCodecs ? true
# darwin
, llvmPackages_14
, bootstrap_cmds
, cctools
, xcbuild
@ -106,7 +105,6 @@ qtModule {
gn
nodejs
] ++ lib.optionals stdenv.isDarwin [
llvmPackages_14.clang
bootstrap_cmds
cctools
xcbuild