mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05: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:
parent
3d3f03cda8
commit
d54faf155a
1 changed files with 4 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue