From 97a5c413a04c36097cb58a1d12e84795ad22855c Mon Sep 17 00:00:00 2001 From: Renaud Date: Mon, 28 Oct 2019 17:27:33 +0100 Subject: [PATCH] perlPackages.Po4a: fix build (#72170) Fixes #71296 (Po4a build get stuck in a loop) Term::ReadKey is an optional dependency. From upstream: > This module is used to retrieve the terminal's line width. > If it is not present, the line width can be specified with the COLUMN environment variable. --- pkgs/development/perl-modules/Po4a/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/perl-modules/Po4a/default.nix b/pkgs/development/perl-modules/Po4a/default.nix index 338baea389f9..94d83845e292 100644 --- a/pkgs/development/perl-modules/Po4a/default.nix +++ b/pkgs/development/perl-modules/Po4a/default.nix @@ -9,7 +9,8 @@ buildPerlPackage rec { sha256 = "1qss4q5df3nsydsbggb7gg50bn0kdxq5wn8riqm9zwkiq6a4bifg"; }; nativeBuildInputs = [ docbook_xsl docbook_xsl_ns ModuleBuild ]; - propagatedBuildInputs = [ TextWrapI18N LocaleGettext TermReadKey SGMLSpm UnicodeLineBreak PodParser YAMLTiny ]; + propagatedBuildInputs = [ TextWrapI18N LocaleGettext SGMLSpm UnicodeLineBreak PodParser YAMLTiny ]; + # TODO: TermReadKey was temporarily removed from propagatedBuildInputs to unfreeze the build buildInputs = [ gettext libxslt glibcLocales docbook_xml_dtd_412 docbook_sgml_dtd_41 texlive.combined.scheme-basic opensp ]; LC_ALL = "en_US.UTF-8"; SGML_CATALOG_FILES = "${docbook_xml_dtd_412}/xml/dtd/docbook/catalog.xml";