Merge pull request #239099 from wegank/qtwebengine-darwin-old

qt6.qtwebengine: unbreak on x86_64-darwin
This commit is contained in:
Weijia Wang 2023-06-22 08:28:23 +03:00 committed by GitHub
commit 2f8d842d2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -133,7 +133,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;
inherit (darwin.apple_sdk_11_0) libpm libunwind llvmPackages_14;
inherit (darwin.apple_sdk_11_0.libs) sandbox;
inherit (darwin.apple_sdk_11_0.frameworks)
AGL AVFoundation Accelerate Cocoa CoreLocation CoreML ForceFeedback

View File

@ -66,7 +66,7 @@
, xkeyboard_config
, enableProprietaryCodecs ? true
# darwin
, clang_14
, llvmPackages_14
, bootstrap_cmds
, cctools
, xcbuild
@ -113,7 +113,7 @@ qtModule {
gn
nodejs
] ++ lib.optionals stdenv.isDarwin [
clang_14
llvmPackages_14.clang
bootstrap_cmds
cctools
xcbuild
@ -309,7 +309,6 @@ qtModule {
meta = with lib; {
description = "A web engine based on the Chromium web browser";
platforms = platforms.unix;
broken = stdenv.isDarwin && stdenv.isx86_64;
# This build takes a long time; particularly on slow architectures
# 1 hour on 32x3.6GHz -> maybe 12 hours on 4x2.4GHz
timeout = 24 * 3600;

View File

@ -75,6 +75,7 @@ let
name = "llvmPackages_${v}";
value = pkgs."llvmPackages_${v}" // {
stdenv = mkStdenv pkgs."llvmPackages_${v}".stdenv;
clang = mkCc pkgs."llvmPackages_${v}".clang;
};
})
[ "12" "13" "14" "15" "16" ]