From dd3e4b41b440ebcb56f4c01ddad12ca221e9260f Mon Sep 17 00:00:00 2001 From: Audrey Dutcher Date: Fri, 19 Jul 2024 22:23:05 -0700 Subject: [PATCH] libiconv: update gnu config scripts --- pkgs/development/libraries/libiconv/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/libiconv/default.nix b/pkgs/development/libraries/libiconv/default.nix index b59887381f49..22b2bd2e6654 100644 --- a/pkgs/development/libraries/libiconv/default.nix +++ b/pkgs/development/libraries/libiconv/default.nix @@ -1,4 +1,5 @@ { fetchurl, stdenv, lib +, updateAutotoolsGnuConfigScriptsHook , enableStatic ? stdenv.hostPlatform.isStatic , enableShared ? !stdenv.hostPlatform.isStatic , enableDarwinABICompat ? false @@ -17,6 +18,10 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; + # necessary to build on FreeBSD native pending inclusion of + # https://git.savannah.gnu.org/cgit/config.git/commit/?id=e4786449e1c26716e3f9ea182caf472e4dbc96e0 + nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook ]; + setupHooks = [ ../../../build-support/setup-hooks/role.bash ./setup-hook.sh