From 87ba11eff1b7a1784c94c897d468ba28822b0609 Mon Sep 17 00:00:00 2001 From: Aleksandr Vityazev Date: Wed, 26 Apr 2023 20:33:52 +0300 Subject: gnu: maven-embedder: Fix build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/maven (maven-embedder)[arguments]: Add the'add-sisu-shebang phase after unpack. Signed-off-by: Ludovic Courtès --- gnu/packages/maven.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index 6c2958fa11..a805bda8e5 100644 --- a/gnu/packages/maven.scm +++ b/gnu/packages/maven.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2019 Björn Höfling ;;; Copyright © 2020 Efraim Flashner ;;; Copyright © 2022 Artyom V. Poptsov +;;; Copyright © 2023 Aleksandr Vityazev ;;; ;;; This file is part of GNU Guix. ;;; @@ -1838,6 +1839,10 @@ artifactId=maven-core" ,(package-version maven-core-bootstrap)))) #:jdk ,icedtea-8 #:phases (modify-phases %standard-phases + (add-after 'unpack 'add-sisu-shebang + (lambda _ + (substitute* "sisu.sh" + (("^## T") "#!/bin/sh\n## T")))) (add-before 'build 'generate-sisu-named (lambda _ (mkdir-p "build/classes/META-INF/sisu") -- cgit 1.4.1