buildMozillaMach: add support for extraPreConfigure

(cherry picked from commit c7657c0a13)
This commit is contained in:
Hythera
2026-08-04 23:02:58 +02:00
committed by github-actions[bot]
parent 2f2ba5910d
commit 074e5237aa

View File

@@ -16,6 +16,7 @@
extraPostPatch ? "",
extraNativeBuildInputs ? [ ],
extraConfigureFlags ? [ ],
extraPreConfigure ? "",
extraBuildInputs ? [ ],
extraMakeFlags ? [ ],
extraPassthru ? { },
@@ -476,7 +477,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 = [ ];