mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
Merge #197849: librewolf: fix build on aarch64-linux by upstream patch
This commit is contained in:
commit
2b248e9e5a
@ -9,7 +9,7 @@ in
|
||||
binaryName = "librewolf";
|
||||
version = librewolf-src.packageVersion;
|
||||
src = librewolf-src.firefox;
|
||||
inherit (librewolf-src) extraConfigureFlags extraPostPatch extraPassthru;
|
||||
inherit (librewolf-src) extraConfigureFlags extraPatches extraPostPatch extraPassthru;
|
||||
|
||||
meta = {
|
||||
description = "A fork of Firefox, focused on privacy, security and freedom";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ callPackage }:
|
||||
{ callPackage, lib, stdenv, fetchpatch }:
|
||||
let
|
||||
src = callPackage ./src.nix { };
|
||||
in
|
||||
@ -6,7 +6,13 @@ rec {
|
||||
|
||||
inherit (src) packageVersion firefox source;
|
||||
|
||||
extraPatches = [ ./verify-telemetry-macros.patch ];
|
||||
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=";
|
||||
})
|
||||
];
|
||||
|
||||
extraConfigureFlags = [
|
||||
"--with-app-name=librewolf"
|
||||
|
Loading…
Reference in New Issue
Block a user