summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastian Köcher <info@kchr.de>2023-11-28 20:37:23 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-11-28 22:16:13 +0000
commit74608f93b82f9077654d666cd7d7d84dc792aef6 (patch)
tree78da6892713989bc89d4cce864158c6a37d785a0
parentMerge pull request #270653 from NixOS/backport-270597-to-release-23.11 (diff)
downloadnixpkgs-origin/backport-270722-to-release-23.11.tar.gz
firefox: Adds patch for systems without a default page sizeorigin/backport-270722-to-release-23.11
This patch ensures that firefox is not crashing when running Nixos on MX Apple machines. (using Asahi Linux) (cherry picked from commit 1d8c5b758677aca927950e52156af2cd1c438597)
-rw-r--r--pkgs/applications/networking/browsers/firefox/packages.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/packages.nix b/pkgs/applications/networking/browsers/firefox/packages.nix
index 2d08f391d283..63368119ffed 100644
--- a/pkgs/applications/networking/browsers/firefox/packages.nix
+++ b/pkgs/applications/networking/browsers/firefox/packages.nix
@@ -9,6 +9,16 @@
sha512 = "31d5f9e1d4173280c8de6d9b8551bc6bba5e2c49b84f944f50d42002d5b39c2fb743bc130f26c81160388a102b8301b94a0a378ecdfa6f943860f971a860df8c";
};
+ 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 = {
changelog = "https://www.mozilla.org/en-US/firefox/${version}/releasenotes/";
description = "A web browser built from Firefox source tree";