diff options
author | Audrey Dutcher <audrey@rhelmot.io> | 2024-05-21 14:50:29 -0700 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2024-05-27 11:09:28 -0400 |
commit | 846de80d1cc8afab75283f4b4251a6281d6c0295 (patch) | |
tree | c7c5744fed8d698cda753040d830c9633295d591 /pkgs/development/tools/misc/texinfo/common.nix | |
parent | 9e21798e8f92cc3fc56f17f64ff2dcea74b619b4 (diff) |
various: Enable updateAutotoolsGnuConfigScriptsHook
Prior to August 2023, any config.guess generated by autoconf will include a hardcoded /usr/bin/uname invocation for FreeBSD on any architecture other than arm. This clearly doesn't work under nix. We must then update or otherwise patch each old config.guess.
Diffstat (limited to 'pkgs/development/tools/misc/texinfo/common.nix')
-rw-r--r-- | pkgs/development/tools/misc/texinfo/common.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/tools/misc/texinfo/common.nix b/pkgs/development/tools/misc/texinfo/common.nix index d1f8cc5825435..11144d7581a5f 100644 --- a/pkgs/development/tools/misc/texinfo/common.nix +++ b/pkgs/development/tools/misc/texinfo/common.nix @@ -1,7 +1,7 @@ { version, sha256, patches ? [] }: { lib, stdenv, buildPackages, fetchurl, perl, libintl, bash -, gnulib, gawk, freebsd, libiconv +, updateAutotoolsGnuConfigScriptsHook, gnulib, gawk, freebsd, libiconv # we are a dependency of gcc, this simplifies bootstraping , interactive ? false, ncurses, procps @@ -49,6 +49,7 @@ stdenv.mkDerivation { # A native compiler is needed to build tools needed at build time depsBuildBuild = [ buildPackages.stdenv.cc perl ]; + nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook ]; buildInputs = [ bash libintl ] ++ optionals stdenv.isSunOS [ libiconv gawk ] ++ optional interactive ncurses; |