me
/
guix
Archived
1
0
Fork 0

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>
master
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
1 changed files with 4 additions and 0 deletions

View File

@ -1603,6 +1603,10 @@ generally generated from plugin sources using maven-plugin-plugin.")))
#:tests? #f #:tests? #f
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'add-sisu-shebang
(lambda _
(substitute* "sisu.sh"
(("^## T") "#!/bin/sh\n## T"))))
(add-before 'configure 'chdir (add-before 'configure 'chdir
(lambda _ (lambda _
;; Required for generating components.xml in maven-core ;; Required for generating components.xml in maven-core