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.
This commit is contained in:
committed by
John Ericson
parent
9e21798e8f
commit
846de80d1c
@@ -1,4 +1,5 @@
|
||||
{ lib, stdenv, fetchurl, zlib, readline, ncurses
|
||||
, updateAutotoolsGnuConfigScriptsHook
|
||||
|
||||
# for tests
|
||||
, python3Packages, sqldiff, sqlite-analyzer, tracker
|
||||
@@ -27,6 +28,7 @@ stdenv.mkDerivation rec {
|
||||
outputs = [ "bin" "dev" "out" ];
|
||||
separateDebugInfo = stdenv.isLinux;
|
||||
|
||||
nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook ];
|
||||
buildInputs = [ zlib ] ++ lib.optionals interactive [ readline ncurses ];
|
||||
|
||||
# required for aarch64 but applied for all arches for simplicity
|
||||
|
||||
Reference in New Issue
Block a user