Subject: [bug#63094] [PATCH] gnu: maven-model-builder: Fix build.

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

* gnu/packages/maven (maven-model-builder)[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 5781d17238..cfadec0a01 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -1410,6 +1410,10 @@ (define-public maven-model-builder
              (copy-recursively "src/main/resources"
                                "build/classes")
              #t))
+         (add-after 'unpack 'add-sisu-shebang
+           (lambda _
+             (substitute* "sisu.sh"
+               (("^## T") "#!/bin/sh\n## T"))))
          (add-before 'build 'generate-sisu-named
            (lambda _
              (mkdir-p "build/classes/META-INF/sisu")
-- 
2.39.2

-- 

Aleksandr Vityazev