unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Cc: 54148-done@debbugs.gnu.org
Subject: bug#54148: [PATCH] gnu: matterbridge: update to 1.24.0
Date: Wed, 16 Mar 2022 15:43:22 +0100	[thread overview]
Message-ID: <8735jidkl1.fsf@gnu.org> (raw)
In-Reply-To: <20220224204048.25280-1-GNUtoo@cyberdimension.org> (Denis Carikli's message of "Thu, 24 Feb 2022 21:40:48 +0100")

[-- Attachment #1: Type: text/plain, Size: 346 bytes --]

Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> skribis:

> * gnu/packages/messaging.scm (matterbridge): Update to 1.24.0.
>
> Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>

Applied with the minor tweaks below (referring to the phase parameters
instead of the ‘%outputs’ global variable), thanks!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 2051 bytes --]

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 6283db02bf..f78719575a 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -3128,27 +3128,27 @@ (define-public matterbridge
      `(#:phases (modify-phases %standard-phases
                   (delete 'configure)
                   (replace 'build
-                    (lambda _
+                    (lambda* (#:key outputs #:allow-other-keys)
                       (setenv "GOCACHE"
                               (string-append (getcwd) "/go-build"))
                       (setenv "GOBIN"
-                              (string-append (assoc-ref %outputs "out") "/bin"))
+                              (string-append (assoc-ref outputs "out") "/bin"))
                       (invoke "go" "build" "-v" "-x")))
                   (replace 'check
-                    (lambda* (#:key tests? #:allow-other-keys)
+                    (lambda* (#:key outputs tests? #:allow-other-keys)
                       (when tests?
                         (setenv "GOCACHE"
                                 (string-append (getcwd) "/go-build"))
                         (setenv "GOBIN"
-                                (string-append (assoc-ref %outputs "out")
+                                (string-append (assoc-ref outputs "out")
                                                "/bin"))
                         (invoke "go" "test" "-v" "-x"))))
                   (replace 'install
-                    (lambda _
+                    (lambda* (#:key outputs #:allow-other-keys)
                       (setenv "GOCACHE"
                               (string-append (getcwd) "/go-build"))
                       (setenv "GOBIN"
-                              (string-append (assoc-ref %outputs "out") "/bin"))
+                              (string-append (assoc-ref outputs "out") "/bin"))
                       (invoke "go" "install" "-v" "-x"))))))
     (native-inputs (list go))
     (synopsis "Bridge together various messaging networks and protocols")

      reply	other threads:[~2022-03-16 14:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-24 20:40 [bug#54148] [PATCH] gnu: matterbridge: update to 1.24.0 Denis 'GNUtoo' Carikli
2022-03-16 14:43 ` Ludovic Courtès [this message]

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=8735jidkl1.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=54148-done@debbugs.gnu.org \
    --cc=GNUtoo@cyberdimension.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).