summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2022-10-18 12:10:26 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-10-18 18:05:51 +0200
commit2eda1ee43eb72c9e511d52085554be45f3ade156 (patch)
treeebd4280c558405d4f65a1b1e75b4852cfadb13dd
parentfirefox-esr-102-unwrapped: 102.3.0esr -> 102.4.0esr (diff)
downloadnixpkgs-2eda1ee43eb72c9e511d52085554be45f3ade156.tar.gz
firefox: fix build on aarch64-linux by upstream patch
(cherry picked from commit c08efaf08b427bc3d47d3b256d3e82b80279efbe)
-rw-r--r--pkgs/applications/networking/browsers/firefox/packages.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/packages.nix b/pkgs/applications/networking/browsers/firefox/packages.nix
index b5538243b968..045191e125a6 100644
--- a/pkgs/applications/networking/browsers/firefox/packages.nix
+++ b/pkgs/applications/networking/browsers/firefox/packages.nix
@@ -9,6 +9,15 @@ rec {
sha512 = "30ced2fff818858267eaab23974f6962c5d39433ce8e26507589535fc9348f00cf5e45b90997dfb6e2361b70900547fdb0e70d741127cc6705089ea585ea2296";
};
+ # This patch could be applied anywhere (just rebuild, no effect)
+ extraPatches = lib.optionals stdenv.isAarch64 [
+ (fetchpatch { # https://bugzilla.mozilla.org/show_bug.cgi?id=1791275
+ name = "no-sysctl-aarch64.patch";
+ url = "https://hg.mozilla.org/mozilla-central/raw-rev/0efaf5a00aaceeed679885e4cd393bd9a5fcd0ff";
+ hash = "sha256-wS/KufeLFxCexQalGGNg8+vnQhzDiL79OLt8FtL/JJ8=";
+ })
+ ];
+
meta = {
description = "A web browser built from Firefox source tree";
homepage = "http://www.mozilla.com/en-US/firefox/";