mailutils: make nettools optional on darwin

Fixes https://github.com/NixOS/nixpkgs/issues/117583
This commit is contained in:
Mario Rodas 2021-04-01 04:20:00 -05:00
parent a0fb7cbc4c
commit d01a9229f8

View file

@ -24,9 +24,9 @@ stdenv.mkDerivation rec {
];
buildInputs = [
gdbm pam readline ncurses gnutls guile texinfo gnum4 sasl fribidi nettools
gdbm pam readline ncurses gnutls guile texinfo gnum4 sasl fribidi
gss libmysqlclient python3
];
] ++ lib.optionals stdenv.isLinux [ nettools ];
patches = [
./fix-build-mb-len-max.patch