inetutils: fix cross

I guess with #181764 this might've broken for cross.
Perl propagates libxcrypt, but is only listed in nativeBuildInputs.
List libxcrypt in buildInputs to ensure it's picked up properly.
This commit is contained in:
Rick van Schijndel 2022-11-14 18:19:56 +01:00
parent dad4de1694
commit ec106b98dd

View file

@ -1,5 +1,6 @@
{ stdenv, lib, fetchurl, ncurses, perl, help2man
, apparmorRulesFromClosure
, libxcrypt
}:
stdenv.mkDerivation rec {
@ -18,8 +19,9 @@ stdenv.mkDerivation rec {
./inetutils-1_9-PATH_PROCNET_DEV.patch
];
strictDeps = true;
nativeBuildInputs = [ help2man perl /* for `whois' */ ];
buildInputs = [ ncurses /* for `talk' */ ];
buildInputs = [ ncurses /* for `talk' */ libxcrypt ];
# Don't use help2man if cross-compiling
# https://lists.gnu.org/archive/html/bug-sed/2017-01/msg00001.html