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>
This commit is contained in:
Aleksandr Vityazev 2023-04-26 20:33:25 +03:00 committed by Ludovic Courtès
parent 04f9ac0cfa
commit 3d2ce30f6b
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1509,6 +1509,10 @@ (define-public maven-resolver-provider
#: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")