Fix alternative samba configuration evaluations
This commit is contained in:
parent
3ff2dfb7fa
commit
124a61f10d
@ -61,11 +61,13 @@ stdenv.mkDerivation rec {
|
|||||||
"--enable-fhs"
|
"--enable-fhs"
|
||||||
"--sysconfdir=/etc"
|
"--sysconfdir=/etc"
|
||||||
"--localstatedir=/var"
|
"--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"
|
"--private-libraries=NONE"
|
||||||
"--builtin-libraries=replace"
|
"--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"
|
++ optional (!enableDomainController) "--without-ad-dc"
|
||||||
++ optionals (!enableLDAP) [ "--without-ldap" "--without-ads" ];
|
++ optionals (!enableLDAP) [ "--without-ldap" "--without-ads" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user