samba: add notes for darwin

This commit is contained in:
Monson Shao 2022-11-23 16:15:00 +08:00
parent c3ef258b6f
commit 0f96e0860c
No known key found for this signature in database
GPG key ID: 163271C707982C65

View file

@ -30,6 +30,7 @@
, bash
, python3Packages
, nixosTests
, libiconv
, enableLDAP ? false, openldap
, enablePrinting ? false, cups
@ -103,6 +104,7 @@ stdenv.mkDerivation rec {
tdb
libxcrypt
] ++ optionals stdenv.isLinux [ liburing systemd ]
++ optionals stdenv.isDarwin [ libiconv ]
++ optionals enableLDAP [ openldap.dev python3Packages.markdown ]
++ optional (enablePrinting && stdenv.isLinux) cups
++ optional enableMDNS avahi
@ -208,6 +210,8 @@ stdenv.mkDerivation rec {
license = licenses.gpl3;
platforms = platforms.unix;
# N.B. enableGlusterFS does not build
# TODO: darwin support needs newer SDK for "_futimens" and "_utimensat"
# see https://github.com/NixOS/nixpkgs/issues/101229
broken = stdenv.isDarwin || enableGlusterFS;
maintainers = with maintainers; [ aneeshusa ];
};