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/tools/text/gnugrep/default.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/tools/text/gnugrep/default.nix')
-rw-r--r-- | pkgs/tools/text/gnugrep/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/text/gnugrep/default.nix b/pkgs/tools/text/gnugrep/default.nix index 55e0a97f35945..7298fe881bea1 100644 --- a/pkgs/tools/text/gnugrep/default.nix +++ b/pkgs/tools/text/gnugrep/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, glibcLocales, fetchurl, pcre2, libiconv, perl, runtimeShellPackage }: +{ lib, stdenv, updateAutotoolsGnuConfigScriptsHook, glibcLocales, fetchurl, pcre2, libiconv, perl, runtimeShellPackage }: # Note: this package is used for bootstrapping fetchurl, and thus # cannot use fetchpatch! All mutable patches (generated by GitHub or @@ -26,6 +26,7 @@ stdenv.mkDerivation { nativeCheckInputs = [ perl glibcLocales ]; outputs = [ "out" "info" ]; # the man pages are rather small + nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook ]; buildInputs = [ pcre2 libiconv runtimeShellPackage ]; # cygwin: FAIL: multibyte-white-space |