summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/firefox/common.nix
diff options
context:
space:
mode:
authorMartino Fontana <tinozzo123@tutanota.com>2023-06-21 19:23:08 +0200
committerMartino Fontana <tinozzo123@tutanota.com>2023-06-21 19:25:42 +0200
commite1a6c85c2ba53933bfe5b6a86b9031cc28e4f9e1 (patch)
tree27e31b1ce9e4a1b5a94ac0a5f317bfa3201509fd /pkgs/applications/networking/browsers/firefox/common.nix
parent2c09e8eb8717e240ef9c5727c1cc9186db9fb309 (diff)
downloadnixpkgs-e1a6c85c2ba53933bfe5b6a86b9031cc28e4f9e1.tar
nixpkgs-e1a6c85c2ba53933bfe5b6a86b9031cc28e4f9e1.tar.gz
nixpkgs-e1a6c85c2ba53933bfe5b6a86b9031cc28e4f9e1.tar.bz2
nixpkgs-e1a6c85c2ba53933bfe5b6a86b9031cc28e4f9e1.tar.lz
nixpkgs-e1a6c85c2ba53933bfe5b6a86b9031cc28e4f9e1.tar.xz
nixpkgs-e1a6c85c2ba53933bfe5b6a86b9031cc28e4f9e1.tar.zst
nixpkgs-e1a6c85c2ba53933bfe5b6a86b9031cc28e4f9e1.zip
nixos/sysctl: raise default vm.max_map_count to 1048576
Diffstat (limited to 'pkgs/applications/networking/browsers/firefox/common.nix')
-rw-r--r--pkgs/applications/networking/browsers/firefox/common.nix1
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 ae7223ec721..0a578520ae2 100644
--- a/pkgs/applications/networking/browsers/firefox/common.nix
+++ b/pkgs/applications/networking/browsers/firefox/common.nix
@@ -357,6 +357,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
   '';