Skip to content

Commit 0a5a182

Browse files
committed
buildMozillaMach: update patch range for Python 3.12.8 compat issue
1 parent 58f12ee commit 0a5a182

File tree

1 file changed

+6
-4
lines changed
  • pkgs/applications/networking/browsers/firefox

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,12 @@ buildStdenv.mkDerivation {
268268
hash = "sha256-2IpdSyye3VT4VB95WurnyRFtdN1lfVtYpgEiUVhfNjw=";
269269
})
270270
]
271+
++ lib.optionals ((lib.versionAtLeast version "129" && lib.versionOlder version "134") || lib.versionOlder version "128.6.0") [
272+
# Python 3.12.8 compat
273+
# https://bugzilla.mozilla.org/show_bug.cgi?id=1935621
274+
# https://phabricator.services.mozilla.com/D231480
275+
./mozbz-1935621-attachment-9442305.patch
276+
]
271277
++ [
272278
# LLVM 19 turned on WASM reference types by default, exposing a bug
273279
# that broke the Mozilla WASI build. Supposedly, it has been fixed
@@ -286,10 +292,6 @@ buildStdenv.mkDerivation {
286292
url = "https://hg.mozilla.org/integration/autoland/raw-rev/23a9f6555c7c";
287293
hash = "sha256-CRywalJlRMFVLITEYXxpSq3jLPbUlWKNRHuKLwXqQfU=";
288294
})
289-
# Python 3.12.8 compat
290-
# https://bugzilla.mozilla.org/show_bug.cgi?id=1935621
291-
# https://phabricator.services.mozilla.com/D231480
292-
./mozbz-1935621-attachment-9442305.patch
293295
# Fix for missing vector header on macOS
294296
# https://bugzilla.mozilla.org/show_bug.cgi?id=1939405
295297
./firefox-mac-missing-vector-header.patch

0 commit comments

Comments
 (0)