forked from mirrors/nixpkgs
Fix alternative samba configuration evaluations
This commit is contained in:
parent
3ff2dfb7fa
commit
124a61f10d
|
@ -61,11 +61,13 @@ stdenv.mkDerivation rec {
|
|||
"--enable-fhs"
|
||||
"--sysconfdir=/etc"
|
||||
"--localstatedir=/var"
|
||||
"--bundled-libraries=${if enableKerberos && kerberos.implementation == "heimdal" then "NONE" else "com_err"}"
|
||||
"--bundled-libraries=${if enableKerberos && kerberos != null &&
|
||||
kerberos.implementation == "heimdal" then "NONE" else "com_err"}"
|
||||
"--private-libraries=NONE"
|
||||
"--builtin-libraries=replace"
|
||||
]
|
||||
++ optional (enableKerberos && kerberos.implementation == "krb5") "--with-system-mitkrb5"
|
||||
++ optional (enableKerberos && kerberos != null &&
|
||||
kerberos.implementation == "krb5") "--with-system-mitkrb5"
|
||||
++ optional (!enableDomainController) "--without-ad-dc"
|
||||
++ optionals (!enableLDAP) [ "--without-ldap" "--without-ads" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue