guile-curl: fix build with gettext

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
Ethan Carter Edwards
2025-07-28 18:37:02 -04:00
parent de5e499ddf
commit 9e3c9602a0
+6
View File
@@ -3,6 +3,7 @@
stdenv,
fetchFromGitHub,
autoreconfHook,
gettext,
guile,
pkg-config,
texinfo,
@@ -34,6 +35,11 @@ stdenv.mkDerivation (finalAttrs: {
curl
];
# error: possibly undefined macro: AC_LIB_LINKFLAGS_FROM_LIBS
preAutoreconf = ''
cp ${gettext}/share/gettext/m4/lib-{ld,link,prefix}.m4 m4
'';
meta = {
description = "Bindings to cURL for GNU Guile";
homepage = "https://github.com/spk121/guile-curl";