gnu: maven-core-bootstrap: Fix build.

* gnu/packages/maven (maven-core-bootstrap)[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:38 +03:00 committed by Ludovic Courtès
parent 3d2ce30f6b
commit 1a93ff9a8b
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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