nixos/malloc: add mimalloc

This commit is contained in:
Mikael Voss 2021-09-20 19:10:28 +02:00
parent 2fcef20cb1
commit 5437b17b8e
No known key found for this signature in database
GPG Key ID: D991B1833C467B03

View File

@ -30,6 +30,15 @@ let
vulnerabilities, while maintaining good performance.
'';
};
mimalloc = {
libPath = "${pkgs.mimalloc}/lib/libmimalloc.so";
description = ''
A compact and fast general purpose allocator, which may
optionally be built with mitigations against various heap
vulnerabilities.
'';
};
};
providerConf = providers.${cfg.provider};