Subject: [PATCH] gnu: gash-utils: Fix build.
From: Liliana Marie Prikler <[email-masked]>
To: [email-masked]
Date: Fri, 6 Oct 2023 10:00:16 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/shells.scm (gash-utils)[arguments]: Add ‘skip-failing-tests’
phase.
[native-inputs]: Add autoconf and automake.
---
 gnu/packages/shells.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 8042fab12f..9e6bf6693f 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -938,8 +938,16 @@ (define-public gash-utils
                (base32
                 "18ylb54l9lmaynapbncc1zhbsirhihznrxihhxgqrpqgyjkfbap6"))))
     (build-system gnu-build-system)
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                  (add-after 'unpack 'skip-failing-tests
+                    (lambda _
+                      (substitute* "Makefile.am"
+                        (("tests/sort\\.org") ""))
+                      (for-each delete-file '("configure" "Makefile.in")))))))
     (native-inputs
-     (list pkg-config))
+     (list autoconf automake pkg-config))
     (inputs
      (list guile-3.0 gash))
     (home-page "https://savannah.nongnu.org/projects/gash/")

base-commit: e863274e67e2242b970845783172c9f4e49405ca
prerequisite-patch-id: fa0c8b5c6bf9c004b8e8ae6d2232457ac96fa7be
prerequisite-patch-id: 263ceb05d249c98e725b33d4a5031c09f19c167b
prerequisite-patch-id: 9588dc604f446839ee10f1e2e827684c4cc00bc7
-- 
2.41.0