mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05:00
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>
This commit is contained in:
parent
1a93ff9a8b
commit
87ba11eff1
1 changed files with 5 additions and 0 deletions
|
@ -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 @@ (define-public maven-embedder
|
|||
#: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")
|
||||
|
|
Loading…
Reference in a new issue