guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/10: gnu: maven-core-bootstrap: Fix build.


From: guix-commits
Subject: 07/10: gnu: maven-core-bootstrap: Fix build.
Date: Fri, 28 Apr 2023 15:15:08 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 1a93ff9a8b0c64ccb0e365f4e5c199e0ac8b9de6
Author: Aleksandr Vityazev <avityazew@gmail.com>
AuthorDate: Wed Apr 26 20:33:38 2023 +0300

    gnu: maven-core-bootstrap: Fix build.
    
    * gnu/packages/maven (maven-core-bootstrap)[arguments]:
    Add the'add-sisu-shebang phase after unpack.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/maven.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index e57b288779..6c2958fa11 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -1603,6 +1603,10 @@ generally generated from plugin sources using 
maven-plugin-plugin.")))
          #:tests? #f
          #:phases
          (modify-phases %standard-phases
+           (add-after 'unpack 'add-sisu-shebang
+             (lambda _
+               (substitute* "sisu.sh"
+                 (("^## T") "#!/bin/sh\n## T"))))
            (add-before 'configure 'chdir
              (lambda _
                ;; Required for generating components.xml in maven-core



reply via email to

[Prev in Thread] Current Thread [Next in Thread]