mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
buildMozillaMach: add support for extraPreConfigure
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 = [ ];
|
||||
|
||||
Reference in New Issue
Block a user