Skip to content

Commit

Permalink
qt6.qtwebengine: fix build on darwin, disable metal shader compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
azuwis committed Nov 27, 2024
1 parent f792ec7 commit ca4abfa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/development/libraries/qt-6/modules/qtwebengine.nix
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ qtModule {
--replace "AppleClang" "Clang"
substituteInPlace cmake/Functions.cmake \
--replace "/usr/bin/xcrun" "${xcbuild}/bin/xcrun"
substituteInPlace src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/metal/metal_backend.gni \
--replace-fail 'angle_has_build && !is_ios && target_os == host_os' "false"
'';

cmakeFlags = [
Expand Down

0 comments on commit ca4abfa

Please sign in to comment.