From 1cb0dee3a31c6d235389d4d9787fa583c2babc30 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 6 May 2023 14:29:09 +0100 Subject: [PATCH] gnu: guile-irc: Fix build. * gnu/packages/guile-xyz.scm (guile-irc)[arguments]: Add 'fix-autogen.sh phase to patch shebang removing leading space. [inputs]: Add guile-gnutls. Signed-off-by: Christopher Baines --- gnu/packages/guile-xyz.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 5c169dca08..6462ee7963 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -4520,11 +4520,17 @@ (define-public guile-irc "1jx8704200l29ndg9bfyamgxrzknya0f0vwb2sxhd0k3b8r94avw")))) (build-system gnu-build-system) (arguments - `(#:configure-flags '("--enable-gnutls=yes"))) + `(#:configure-flags '("--enable-gnutls=yes") + #:phases + (modify-phases %standard-phases + (add-before 'bootstrap 'fix-autogen.sh + (lambda _ + (substitute* "autogen.sh" + ((" #!") "#!"))))))) (native-inputs (list autoconf automake texinfo pkg-config)) (inputs - (list gnutls guile-3.0)) + (list gnutls guile-gnutls guile-3.0)) (home-page "https://github.com/rekado/guile-irc") (synopsis "IRC library for Guile") (description "This package provides a Guile library for @dfn{Internet