From 68f3004020cbce11a102e367d79578297dbd2783 Mon Sep 17 00:00:00 2001 From: Audrey Dutcher Date: Sat, 16 Nov 2024 11:08:09 -0700 Subject: [PATCH] libmpc: use updateAutotoolsGnuConfigScriptsHook for FreeBSD native --- pkgs/by-name/li/libmpc/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/li/libmpc/package.nix b/pkgs/by-name/li/libmpc/package.nix index 053f0113b444..eaa5943ffe14 100644 --- a/pkgs/by-name/li/libmpc/package.nix +++ b/pkgs/by-name/li/libmpc/package.nix @@ -1,5 +1,6 @@ { lib, stdenv, fetchurl , gmp, mpfr +, updateAutotoolsGnuConfigScriptsHook }: # Note: this package is used for bootstrapping fetchurl, and thus @@ -20,6 +21,10 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; buildInputs = [ gmp mpfr ]; + nativeBuildInputs = [ + # needed until config scripts are updated to not use /usr/bin/uname on FreeBSD native + updateAutotoolsGnuConfigScriptsHook + ]; doCheck = true; # not cross;