Skip to content

Commit

Permalink
Merge pull request #221726 from wegank/samba-darwin
Browse files Browse the repository at this point in the history
samba: unbreak on darwin
  • Loading branch information
wegank authored Mar 18, 2023
2 parents 2e29c38 + 0a76676 commit 088089e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkgs/servers/samba/4.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 088089e

Please sign in to comment.