mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-11-29 22:58:06 +00:00
build-system: go-vendored: Reuse go-build-system code.
This commit is contained in:
2 files changed
+61
-266
No files matched your search
@@ -6,7 +6,7 @@
|
||||
#:use-module ((guix build gnu-build-system) #:prefix gnu:)
|
||||
#:use-module ((guix build go-build-system) #:prefix go:)
|
||||
#:export (%standard-phases
|
||||
go-vendored-build))
|
||||
go-build))
|
||||
|
||||
(define* (unpack-vendored-dependencies #:key native-inputs inputs #:allow-other-keys)
|
||||
(let ((vendored-dependencies
|
||||
@@ -24,6 +24,6 @@
|
||||
(replace 'install-license-files
|
||||
(assoc-ref gnu:%standard-phases 'install-license-files))))
|
||||
|
||||
(define* (go-vendored-build #:key inputs (phases %standard-phases)
|
||||
#:allow-other-keys #:rest args)
|
||||
(define* (go-build #:key inputs (phases %standard-phases)
|
||||
#:allow-other-keys #:rest args)
|
||||
(apply gnu:gnu-build #:inputs inputs #:phases phases args))
|
||||
Reference in new issue
Block a user