diff options
author | Artturi <Artturin@artturin.com> | 2023-06-22 11:37:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-22 11:37:48 +0300 |
commit | 920b833494926d9252833e951f460e6b595d48aa (patch) | |
tree | 078c30cf8bcf48f1696dbe8e9b276e4a81ce565f /pkgs/applications/networking/browsers/firefox/common.nix | |
parent | f55321995c877e42e51e05572aab415c62856537 (diff) | |
parent | e1a6c85c2ba53933bfe5b6a86b9031cc28e4f9e1 (diff) | |
download | nixpkgs-920b833494926d9252833e951f460e6b595d48aa.tar nixpkgs-920b833494926d9252833e951f460e6b595d48aa.tar.gz nixpkgs-920b833494926d9252833e951f460e6b595d48aa.tar.bz2 nixpkgs-920b833494926d9252833e951f460e6b595d48aa.tar.lz nixpkgs-920b833494926d9252833e951f460e6b595d48aa.tar.xz nixpkgs-920b833494926d9252833e951f460e6b595d48aa.tar.zst nixpkgs-920b833494926d9252833e951f460e6b595d48aa.zip |
Merge pull request #238459 from SuperSamus/vm.max_map_count
Diffstat (limited to 'pkgs/applications/networking/browsers/firefox/common.nix')
-rw-r--r-- | pkgs/applications/networking/browsers/firefox/common.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix index 883c04a5a67..a062d767d13 100644 --- a/pkgs/applications/networking/browsers/firefox/common.nix +++ b/pkgs/applications/networking/browsers/firefox/common.nix @@ -371,6 +371,7 @@ buildStdenv.mkDerivation ({ export MOZILLA_OFFICIAL=1 '' + lib.optionalString stdenv.hostPlatform.isMusl '' # 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 ''; |