GNU bug report logs - #63094
[PATCH 0/5] gnu: Fix build of some maven packages.

Previous Next

Package: guix-patches;

Reported by: Aleksandr Vityazev <avityazew <at> gmail.com>

Date: Wed, 26 Apr 2023 17:31:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 63094 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazew <at> gmail.com>
To: 63094 <at> debbugs.gnu.org
Subject: [PATCH] gnu: maven-resolver-provider: Fix build.
Date: Wed, 26 Apr 2023 20:33:25 +0300
* gnu/packages/maven (maven-resolver-provider)[arguments]:
Add the'add-sisu-shebang phase after unpack.
---
 gnu/packages/maven.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index cfadec0a01..e57b288779 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -1509,6 +1509,10 @@ (define-public maven-resolver-provider
        #:tests? #f; dependency loop on maven-core (@Component RepositorySystem)
        #: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




This bug report was last modified 2 years and 82 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.