Skip to content

Commit 09b3126

Browse files
committed
buildMozillaMach: backport patches to fix explicit sync on nvidia gpus
https://bugzilla.mozilla.org/show_bug.cgi?id=1898476 Closes: #335791
1 parent 3ea1895 commit 09b3126

File tree

1 file changed

+18
-0
lines changed
  • pkgs/applications/networking/browsers/firefox

1 file changed

+18
-0
lines changed

pkgs/applications/networking/browsers/firefox/common.nix

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,24 @@ buildStdenv.mkDerivation {
245245
hash = "sha256-MqgWHgbDedVzDOqY2/fvCCp+bGwFBHqmaJLi/mllZug=";
246246
})
247247
]
248+
++ lib.optionals (lib.versionOlder version "130" && lib.versionAtLeast version "128") [
249+
# https://bugzilla.mozilla.org/show_bug.cgi?id=1898476
250+
(fetchpatch {
251+
name = "mozbz-1898476-1.patch";
252+
url = "https://hg.mozilla.org/mozilla-central/raw-rev/f9323daf7abe";
253+
hash = "sha256-fvIowXJLWnm16LeiSz6EasGypTi1ilG+s/T6+lNLbMQ=";
254+
})
255+
(fetchpatch {
256+
name = "mozbz-1898476-2.patch";
257+
url = "https://hg.mozilla.org/mozilla-central/raw-rev/a264ff9e9f6f";
258+
hash = "sha256-9vkI/Ho4BXvLnoRGdfTzUODcIlA6K3RjbdhZjb/LEz0=";
259+
})
260+
(fetchpatch {
261+
name = "mozbz-1898476-3.patch";
262+
url = "https://hg.mozilla.org/mozilla-central/raw-rev/eb230ecdf8eb";
263+
hash = "sha256-IaLltxf5W1WEzxvbi10wphqXVQPtBiLc2zlk38CIiz4=";
264+
})
265+
]
248266
++ lib.optionals (lib.versionOlder version "122") [ ./bindgen-0.64-clang-18.patch ]
249267
++ lib.optionals (lib.versionOlder version "123") [
250268
(fetchpatch {

0 commit comments

Comments
 (0)