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")