[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/04: gnu: maven-model-builder@3.0: Fix build.
From: |
guix-commits |
Subject: |
03/04: gnu: maven-model-builder@3.0: Fix build. |
Date: |
Sun, 18 Jun 2023 03:11:17 -0400 (EDT) |
lilyp pushed a commit to branch master
in repository guix.
commit d54faf155aeeeb2aceb5cc19f141c2b8d0e0720a
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Mon Jun 12 20:23:31 2023 +0200
gnu: maven-model-builder@3.0: Fix build.
* gnu/packages/maven.scm (maven-3.0-model-builder)[#:phases]: Add
‘add-components-shebang’.
---
gnu/packages/maven.scm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index a805bda8e5..dc25f7640e 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -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")