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
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -2424,6 +2424,10 @@ (define-public maven-3.0-model-builder
(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")