aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAleksandr Vityazev <avityazew@gmail.com>2023-04-26 20:33:52 +0300
committerLudovic Courtès <ludo@gnu.org>2023-04-28 21:02:54 +0200
commit87ba11eff1b7a1784c94c897d468ba28822b0609 (patch)
treef05fa43ff220f649afbe143ca8569a5e0c91867e /gnu
parent1a93ff9a8b0c64ccb0e365f4e5c199e0ac8b9de6 (diff)
downloadguix-87ba11eff1b7a1784c94c897d468ba28822b0609.tar.gz
guix-87ba11eff1b7a1784c94c897d468ba28822b0609.zip
gnu: maven-embedder: Fix build.
* gnu/packages/maven (maven-embedder)[arguments]: Add the'add-sisu-shebang phase after unpack. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/maven.scm5
1 files changed, 5 insertions, 0 deletions
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 <bjoern.hoefling@bjoernhoefling.de>
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Artyom V. Poptsov <poptsov.artyom@gmail.com>
+;;; Copyright © 2023 Aleksandr Vityazev <avityazew@gmail.com>
;;;
;;; 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")