me
/
guix
Archived
1
0
Fork 0

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

* gnu/packages/maven.scm (maven-3.0-model-builder)[#:phases]: Add
‘add-components-shebang’.
master
Liliana Marie Prikler 2023-06-12 20:23:31 +02:00
parent 3d3f03cda8
commit d54faf155a
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 4 additions and 0 deletions

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")