Commit ec106b98 authored by Rick van Schijndel's avatar Rick van Schijndel
Browse files

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.
parent dad4de16
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
{ 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