Subject: [PATCH] gnu: maven-core-bootstrap: Fix build.

From: Aleksandr Vityazev <[email-masked]>
Date: Wed, 26 Apr 2023 20:33:38 +0300

* gnu/packages/maven (maven-core-bootstrap)[arguments]:
Add the'add-sisu-shebang phase after unpack.
---
 gnu/packages/maven.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index e57b288779..6c2958fa11 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -1603,6 +1603,10 @@ (define-public maven-core-bootstrap
          #:tests? #f
          #:phases
          (modify-phases %standard-phases
+           (add-after 'unpack 'add-sisu-shebang
+             (lambda _
+               (substitute* "sisu.sh"
+                 (("^## T") "#!/bin/sh\n## T"))))
            (add-before 'configure 'chdir
              (lambda _
                ;; Required for generating components.xml in maven-core
-- 
2.39.2

-- 

Aleksandr Vityazev