From d54faf155aeeeb2aceb5cc19f141c2b8d0e0720a Mon Sep 17 00:00:00 2001 From: Liliana Marie Prikler Date: Mon, 12 Jun 2023 20:23:31 +0200 Subject: gnu: maven-model-builder@3.0: Fix build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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") -- cgit v1.2.3