mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 09:02:59 -05:00
gnu: go-github-com-prometheus-common: Remove submodules.
Removing Golang submodules which need to be packed as separate packages. Each of them has it's own dependencies defined in go.mod and causing cycling with other packages if distributed with go-github-com-prometheus-common. * gnu/packages/golang.scm (go-github-com-prometheus-common) [snippet]: Remove submodules. Change-Id: Ic586cb6b653fd932dad402d700a0c3addd542d99
This commit is contained in:
parent
76f1290a38
commit
a1cf6f78fd
1 changed files with 11 additions and 1 deletions
|
@ -7361,7 +7361,17 @@ (define-public go-github-com-prometheus-common
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"006y6mlxglr2xzmdqxl5bwh899whfx1prcgjai7qhhs5ys5dspy5"))))
|
||||
"006y6mlxglr2xzmdqxl5bwh899whfx1prcgjai7qhhs5ys5dspy5"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
#~(begin
|
||||
;; Submodules with their own go.mod files and packed as
|
||||
;; separated packages:
|
||||
;;
|
||||
;; - github.com/prometheus/common/assets
|
||||
;; - github.com/prometheus/common/sigv4
|
||||
(for-each delete-file-recursively
|
||||
(list "assets" "sigv4"))))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
'(#:import-path "github.com/prometheus/common"
|
||||
|
|
Loading…
Reference in a new issue