lwan: indicate jemalloc should be used, or it won't be

(cherry picked from commit d45a92fba512e8aeaf7bb904077ca8cd4ad988a8)
This commit is contained in:
Will Dietz 2022-03-21 11:14:40 -05:00
parent 648e29a94f
commit 0341e3d535

View File

@ -15,6 +15,9 @@ stdenv.mkDerivation rec {
buildInputs = [ jemalloc zlib ];
# Note: tcmalloc and mimalloc are also supported (and normal malloc)
cmakeFlags = [ "-DUSE_ALTERNATIVE_MALLOC=jemalloc" ];
meta = with lib; {
description = "Lightweight high-performance multi-threaded web server";
longDescription = "A lightweight and speedy web server with a low memory