From fd6c3ab7b8260be85d8a6a38fc509d098d1341d4 Mon Sep 17 00:00:00 2001 From: Martin Joerg Date: Sat, 18 Oct 2025 22:24:23 +0000 Subject: [PATCH] libxls: fix build against gettext >= 0.25 --- pkgs/by-name/li/libxls/package.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pkgs/by-name/li/libxls/package.nix b/pkgs/by-name/li/libxls/package.nix index ab020551d986..ac0e763e341c 100644 --- a/pkgs/by-name/li/libxls/package.nix +++ b/pkgs/by-name/li/libxls/package.nix @@ -17,6 +17,21 @@ stdenv.mkDerivation rec { hash = "sha256-KbITHQ9s2RUeo8zR53R9s4WUM6z8zzddz1k47So0Mlw="; }; + # workaround required to build against gettext >= 0.25 + # https://savannah.gnu.org/support/index.php?111272 + preAutoreconf = '' + autopoint --force + ''; + + # workaround required to build against gettext >= 0.25 + # https://savannah.gnu.org/support/index.php?111273 + autoreconfFlags = [ + "--include=m4" + "--install" + "--force" + "--verbose" + ]; + nativeBuildInputs = [ autoreconfHook autoconf-archive