help2man: restore nls support on darwin, make nls explicit

This commit is contained in:
Andrew Childs 2021-12-14 13:04:02 +09:00
parent 75e029e297
commit e68d2cf128

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, perlPackages, gettext }:
{ lib, stdenv, fetchurl, perlPackages, gettext, libintl }:
# Note: this package is used for bootstrapping fetchurl, and thus
# cannot use fetchpatch! All mutable patches (generated by GitHub or
@ -17,7 +17,11 @@ stdenv.mkDerivation rec {
strictDeps = true;
nativeBuildInputs = [ gettext perlPackages.perl perlPackages.LocaleGettext ];
buildInputs = [ perlPackages.LocaleGettext ];
buildInputs = [ perlPackages.LocaleGettext libintl ];
configureFlags = [
"--enable-nls"
];
doCheck = false; # target `check' is missing