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