Merge pull request #221726 from wegank/samba-darwin
samba: unbreak on darwin
This commit is contained in:
commit
088089e8e0
1 changed files with 2 additions and 3 deletions
|
@ -103,15 +103,13 @@ stdenv.mkDerivation rec {
|
|||
libarchive
|
||||
zlib
|
||||
gnutls
|
||||
ldb
|
||||
talloc
|
||||
libtasn1
|
||||
tdb
|
||||
tevent
|
||||
libxcrypt
|
||||
] ++ optionals stdenv.isLinux [ liburing systemd ]
|
||||
++ optionals stdenv.isDarwin [ libiconv ]
|
||||
++ optionals enableLDAP [ openldap.dev python3Packages.markdown ]
|
||||
++ optionals (!enableLDAP && stdenv.isLinux) [ ldb talloc tevent ]
|
||||
++ optional (enablePrinting && stdenv.isLinux) cups
|
||||
++ optional enableMDNS avahi
|
||||
++ optionals enableDomainController [ gpgme lmdb python3Packages.dnspython ]
|
||||
|
@ -149,6 +147,7 @@ stdenv.mkDerivation rec {
|
|||
++ optionals (!enableLDAP) [
|
||||
"--without-ldap"
|
||||
"--without-ads"
|
||||
] ++ optionals (!enableLDAP && stdenv.isLinux) [
|
||||
"--bundled-libraries=!ldb,!pyldb-util!talloc,!pytalloc-util,!tevent,!tdb,!pytdb"
|
||||
] ++ optional enableLibunwind "--with-libunwind"
|
||||
++ optional enableProfiling "--with-profiling-data"
|
||||
|
|
Loading…
Reference in a new issue