From 0ca8ae0ada0e6e766e442ef297acc0ff900fa9c7 Mon Sep 17 00:00:00 2001 From: Rick van Schijndel Date: Mon, 14 Nov 2022 18:19:56 +0100 Subject: [PATCH] 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. --- pkgs/tools/networking/inetutils/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/networking/inetutils/default.nix b/pkgs/tools/networking/inetutils/default.nix index 57ed93d8130e3..0f31ef01cf226 100644 --- a/pkgs/tools/networking/inetutils/default.nix +++ b/pkgs/tools/networking/inetutils/default.nix @@ -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