Revert "texinfo4: use recent config.guess script"

This reverts commit 767d31165ad7442518e761521e2f1f17d8336abd.
This commit is contained in:
Dmitry Bogatov 2022-06-17 19:50:28 -04:00 committed by Yt
parent e9d95b5223
commit fb3951c8af

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, texinfo, ncurses, xz, autoconf }:
{ stdenv, fetchurl, texinfo, ncurses, xz }:
stdenv.mkDerivation rec {
pname = "texinfo";
@ -9,18 +9,6 @@ stdenv.mkDerivation rec {
sha256 = "1rf9ckpqwixj65bw469i634897xwlgkm5i9g2hv3avl6mv7b0a3d";
};
autoconfSrc = autoconf.src;
# We need texinfo4 to build documentation of GNU m4, and version of
# config.guess bundled in texinfo4 is too old to recognize some CI
# platforms (see #172225).
#
# Using autoreconfHook results in infinity recursion.
postPatch = ''
tar xf $autoconfSrc
cp -v ./autoconf-*/build-aux/config.guess ./build-aux/config.guess
'';
buildInputs = [ ncurses ];
nativeBuildInputs = [ xz ];