GNU bug report logs - #54148
[PATCH] gnu: matterbridge: update to 1.24.0

Previous Next

Package: guix-patches;

Reported by: Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>

Date: Thu, 24 Feb 2022 20:41: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 #10 received at 54148-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
Cc: 54148-done <at> debbugs.gnu.org
Subject: Re: bug#54148: [PATCH] gnu: matterbridge: update to 1.24.0
Date: Wed, 16 Mar 2022 15:43:22 +0100
[Message part 1 (text/plain, inline)]
Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org> skribis:

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

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

Ludo’.

[Message part 2 (text/x-patch, inline)]
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")

This bug report was last modified 3 years and 62 days ago.

Previous Next


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