From 28e43000dbfb5fea8593ca3d07b62d3f7d0b605d Mon Sep 17 00:00:00 2001 From: Sizhe Zhao Date: Sun, 19 Oct 2025 17:28:46 +0800 Subject: [PATCH] qt6.qtwebengine: fix build --- .../libraries/qt-6/modules/qtwebengine/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/libraries/qt-6/modules/qtwebengine/default.nix b/pkgs/development/libraries/qt-6/modules/qtwebengine/default.nix index d06abd2441b9..df88eb6d473e 100644 --- a/pkgs/development/libraries/qt-6/modules/qtwebengine/default.nix +++ b/pkgs/development/libraries/qt-6/modules/qtwebengine/default.nix @@ -7,6 +7,7 @@ buildPackages, bison, coreutils, + fetchpatch2, flex, gperf, ninja, @@ -110,6 +111,15 @@ qtModule { # Reproducibility QTBUG-136068 ./gn-object-sorted.patch + ] + ++ lib.optionals stdenv.cc.isClang [ + # https://chromium-review.googlesource.com/c/chromium/src/+/6633292 + (fetchpatch2 { + url = "https://github.com/chromium/chromium/commit/b0ff8c3b258a8816c05bdebf472dbba719d3c491.patch?full_index=1"; + stripLen = 1; + extraPrefix = "src/3rdparty/chromium/"; + hash = "sha256-zDIlHd8bBtrThkFnrcyA13mhXYIQt6sKsi6qAyQ34yo="; + }) ]; postPatch = ''