stunnel: add optional mimalloc support
This commit is contained in:
parent
323f1359d7
commit
89a50c3467
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user