diff options
author | Yureka <yuka@yuka.dev> | 2023-11-28 23:21:04 +0100 |
---|---|---|
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-11-30 14:14:27 +0000 |
commit | 0cd77f0031164d4e01aa8d960269d5704c8a48ae (patch) | |
tree | 44534217044ce6bff2eb13140396d4f5f440401f | |
parent | 64d626bc6ded83efc8a86a5b9aa65d1750f9f6d5 (diff) |
firefox: move page size patch to buildMozillaMach
(cherry picked from commit 3219a1f4499a87ea40f2132deddd0ca7e7709007)
-rw-r--r-- | pkgs/applications/networking/browsers/firefox/common.nix | 9 | ||||
-rw-r--r-- | pkgs/applications/networking/browsers/firefox/packages.nix | 7 |
2 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix index ffe1786be32ec..4396d7e85d419 100644 --- a/pkgs/applications/networking/browsers/firefox/common.nix +++ b/pkgs/applications/networking/browsers/firefox/common.nix @@ -236,6 +236,15 @@ buildStdenv.mkDerivation { ++ lib.optional (lib.versionAtLeast version "111") ./env_var_for_system_dir-ff111.patch ++ lib.optional (lib.versionAtLeast version "96" && lib.versionOlder version "121") ./no-buildconfig-ffx96.patch ++ lib.optional (lib.versionAtLeast version "121") ./no-buildconfig-ffx121.patch + ++ lib.optionals (lib.versionAtLeast version "120" && lib.versionOlder version "120.0.1") [ + (fetchpatch { + # Do not crash on systems without an expected statically assumed page size. + # https://phabricator.services.mozilla.com/D194458 + name = "mozbz1866025.patch"; + url = "https://hg.mozilla.org/mozilla-central/raw-rev/42c80086da4468f407648f2f57a7222aab2e9951"; + hash = "sha256-cWOyvjIPUU1tavPRqg61xJ53XE4EJTdsFzadfVxyTyM="; + }) + ] ++ extraPatches; postPatch = '' diff --git a/pkgs/applications/networking/browsers/firefox/packages.nix b/pkgs/applications/networking/browsers/firefox/packages.nix index 801e1ca0ad407..2cc9f9d54bd0b 100644 --- a/pkgs/applications/networking/browsers/firefox/packages.nix +++ b/pkgs/applications/networking/browsers/firefox/packages.nix @@ -10,13 +10,6 @@ }; extraPatches = [ - (fetchpatch { - # Do not crash on systems without an expected statically assumed page size. - # https://phabricator.services.mozilla.com/D194458 - name = "mozbz1866025.patch"; - url = "https://hg.mozilla.org/mozilla-central/raw-rev/42c80086da4468f407648f2f57a7222aab2e9951"; - hash = "sha256-cWOyvjIPUU1tavPRqg61xJ53XE4EJTdsFzadfVxyTyM="; - }) ]; meta = { |