summaryrefslogtreecommitdiff
path: root/gnu/packages/maven.scm
diff options
context:
space:
mode:
authorAleksandr Vityazev <avityazew@gmail.com>2023-04-26 20:33:25 +0300
committerLudovic Courtès <ludo@gnu.org>2023-04-28 21:02:54 +0200
commit3d2ce30f6b4b505c9680369d118c2aa9f7bacff4 (patch)
treeda39f36785d2b5a8a8ca80951a3acc78a2ee864b /gnu/packages/maven.scm
parent04f9ac0cfaf86f9e590e0fdc62855d9c87245104 (diff)
gnu: maven-resolver-provider: Fix build.
* gnu/packages/maven (maven-resolver-provider)[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 cfadec0a01..e57b288779 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -1509,6 +1509,10 @@ so really just plain objects.")))
#:tests? #f; dependency loop on maven-core (@Component RepositorySystem)
#:phases
(modify-phases %standard-phases
+ (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")