Skip to content

Commit

Permalink
inetutils: fix cross
Browse files Browse the repository at this point in the history
I guess with NixOS#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.
  • Loading branch information
Mindavi authored and rtimush committed Sep 21, 2023
1 parent 7e8456b commit 0ca8ae0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/tools/networking/inetutils/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv, lib, fetchurl, ncurses, perl, help2man
, apparmorRulesFromClosure
, libxcrypt
}:

stdenv.mkDerivation rec {
Expand All @@ -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
Expand Down

0 comments on commit 0ca8ae0

Please sign in to comment.