mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 05:50:00 +00:00
librewolf-unwrapped: disbaled MOZ_TELEMETRY_REPORTING (#549610)
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
extraPostPatch ? "",
|
||||
extraNativeBuildInputs ? [ ],
|
||||
extraConfigureFlags ? [ ],
|
||||
extraPreConfigure ? "",
|
||||
extraBuildInputs ? [ ],
|
||||
extraMakeFlags ? [ ],
|
||||
extraPassthru ? { },
|
||||
@@ -470,7 +471,8 @@ buildStdenv.mkDerivation {
|
||||
# linking firefox hits the vm.max_map_count kernel limit with the default musl allocator
|
||||
# TODO: Default vm.max_map_count has been increased, retest without this
|
||||
export LD_PRELOAD=${mimalloc}/lib/libmimalloc.so
|
||||
'';
|
||||
''
|
||||
+ extraPreConfigure;
|
||||
|
||||
# firefox has a different definition of configurePlatforms from nixpkgs, see configureFlags
|
||||
configurePlatforms = [ ];
|
||||
|
||||
@@ -24,6 +24,10 @@ rec {
|
||||
"--enable-lto=thin,cross"
|
||||
];
|
||||
|
||||
extraPreConfigure = ''
|
||||
export MOZ_TELEMETRY_REPORTING=
|
||||
'';
|
||||
|
||||
extraPostPatch = ''
|
||||
while read patch_name; do
|
||||
echo "applying LibreWolf patch: $patch_name"
|
||||
|
||||
@@ -20,6 +20,7 @@ in
|
||||
branding = "browser/branding/librewolf";
|
||||
inherit (librewolf-src)
|
||||
extraConfigureFlags
|
||||
extraPreConfigure
|
||||
extraPatches
|
||||
extraPostPatch
|
||||
extraPassthru
|
||||
|
||||
Reference in New Issue
Block a user