1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: maven-model-builder@3.0: Fix build.

* gnu/packages/maven.scm (maven-3.0-model-builder)[#:phases]: Add
‘add-components-shebang’.
This commit is contained in:
Liliana Marie Prikler
2023-06-12 20:23:31 +02:00
parent 3d3f03cda8
commit d54faf155a

View File

@@ -2424,6 +2424,10 @@ reporting or the build process.")))
(substitute-keyword-arguments (package-arguments maven-model-builder)
((#:phases phases)
`(modify-phases ,phases
(add-after 'unpack 'add-components-shebang
(lambda _
(substitute* "components.sh"
(("^## T") "#!/bin/sh\n## T"))))
(add-before 'build 'generate-components.xml
(lambda _
(mkdir-p "build/classes/META-INF/plexus")