stunnel: add optional mimalloc support

This commit is contained in:
Weijia Wang
2024-11-10 02:05:21 +01:00
parent 323f1359d7
commit 89a50c3467
+4
View File
@@ -6,6 +6,8 @@
, stdenv
, systemd
, systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd
, mimalloc
, mimallocSupport ? false
}:
stdenv.mkDerivation (finalAttrs: {
@@ -27,6 +29,8 @@ stdenv.mkDerivation (finalAttrs: {
openssl
] ++ lib.optionals systemdSupport [
systemd
] ++ lib.optionals mimallocSupport [
mimalloc
];
configureFlags = [