[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63094] [PATCH] gnu: maven-embedder: Fix build.
From: |
Aleksandr Vityazev |
Subject: |
[bug#63094] [PATCH] gnu: maven-embedder: Fix build. |
Date: |
Wed, 26 Apr 2023 20:33:52 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
* gnu/packages/maven (maven-embedder)[arguments]:
Add the'add-sisu-shebang phase after unpack.
---
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 <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")
--
2.39.2
--
Aleksandr Vityazev
- [bug#63094] [PATCH 0/5] gnu: Fix build of some maven packages., Aleksandr Vityazev, 2023/04/26
- [bug#63094] [PATCH] gnu: maven-settings-builder: Fix build., Aleksandr Vityazev, 2023/04/26
- [bug#63094] [PATCH] gnu: maven-model-builder: Fix build., Aleksandr Vityazev, 2023/04/26
- [bug#63094] [PATCH] gnu: maven-resolver-provider: Fix build., Aleksandr Vityazev, 2023/04/26
- [bug#63094] [PATCH] gnu: maven-embedder: Fix build.,
Aleksandr Vityazev <=
- [bug#63094] [PATCH] gnu: maven-core-bootstrap: Fix build., Aleksandr Vityazev, 2023/04/26
- bug#63094: [PATCH 0/5] gnu: Fix build of some maven packages., Ludovic Courtès, 2023/04/28