all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Aleksandr Vityazev <avityazew@gmail.com>
To: 63094@debbugs.gnu.org
Subject: [bug#63094] [PATCH] gnu: maven-model-builder: Fix build.
Date: Wed, 26 Apr 2023 20:33:12 +0300	[thread overview]
Message-ID: <87edo6eeg7.fsf@gmail.com> (raw)
In-Reply-To: <87h6t2eeke.fsf@posteo.org>

* gnu/packages/maven (maven-model-builder)[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 5781d17238..cfadec0a01 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -1410,6 +1410,10 @@ (define-public maven-model-builder
              (copy-recursively "src/main/resources"
                                "build/classes")
              #t))
+         (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




  parent reply	other threads:[~2023-04-26 18:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-26 17:30 [bug#63094] [PATCH 0/5] gnu: Fix build of some maven packages Aleksandr Vityazev
2023-04-26 17:32 ` [bug#63094] [PATCH] gnu: maven-settings-builder: Fix build Aleksandr Vityazev
2023-04-26 17:33 ` Aleksandr Vityazev [this message]
2023-04-26 17:33 ` [bug#63094] [PATCH] gnu: maven-resolver-provider: " Aleksandr Vityazev
2023-04-26 17:33 ` [bug#63094] [PATCH] gnu: maven-core-bootstrap: " Aleksandr Vityazev
2023-04-26 17:33 ` [bug#63094] [PATCH] gnu: maven-embedder: " Aleksandr Vityazev
2023-04-28 19:06 ` bug#63094: [PATCH 0/5] gnu: Fix build of some maven packages Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87edo6eeg7.fsf@gmail.com \
    --to=avityazew@gmail.com \
    --cc=63094@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.