summaryrefslogtreecommitdiff
path: root/gnu/packages/maven.scm
diff options
context:
space:
mode:
authorAleksandr Vityazev <avityazew@gmail.com>2023-04-26 20:33:12 +0300
committerLudovic Courtès <ludo@gnu.org>2023-04-28 21:02:54 +0200
commit04f9ac0cfaf86f9e590e0fdc62855d9c87245104 (patch)
tree9034e57c72b4e3047a079c66735f9c15fe6f94db /gnu/packages/maven.scm
parentc0a0cec87ff01ba3ee6f9baaafdb92b7ecc94489 (diff)
gnu: maven-model-builder: Fix build.
* gnu/packages/maven (maven-model-builder)[arguments]: Add the'add-sisu-shebang phase after unpack. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/maven.scm')
-rw-r--r--gnu/packages/maven.scm4
1 files changed, 4 insertions, 0 deletions
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 @@ inheritance, interpolation, @dots{}")))
(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")