Unverified Commit 088089e8 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #221726 from wegank/samba-darwin

samba: unbreak on darwin
parents 2e29c38e 0a766760
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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"