samba: add option enableProfiling

This commit is contained in:
Izorkin 2020-03-25 13:23:36 +03:00
parent 911179ef65
commit 4b2da39fff

View file

@ -27,6 +27,7 @@
, enableLDAP ? false, openldap
, enablePrinting ? false, cups
, enableProfiling ? true
, enableMDNS ? false, avahi
, enableDomainController ? false, gpgme, lmdb
, enableKerberos ? true, krb5Full
@ -123,7 +124,8 @@ stdenv.mkDerivation rec {
] ++ optionals (!enableLDAP) [
"--without-ldap"
"--without-ads"
] ++ optional (!enableAcl) "--without-acl-support"
] ++ optional enableProfiling "--with-profiling-data"
++ optional (!enableAcl) "--without-acl-support"
++ optional (!enablePam) "--without-pam";
preBuild = ''