mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: go-golang-org-x-telemetry: Fix build.
* gnu/packages/golang-build.scm (go-golang-org-x-telemetry) [source]<snippet>: Remove submodules with their own go.mod to be packaged separately. [arguments]<test-flags>: Skip all tests requiring networking. Change-Id: Ie5ef5f99da83d9d803b5c07d99ef1763968ee308
This commit is contained in:
parent
6cad6aec08
commit
92d4c2e302
1 changed files with 25 additions and 2 deletions
|
@ -806,11 +806,34 @@ support for low-level interaction with the operating system.")
|
|||
(commit (go-version->git-ref version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "05gvxiv0yqfclckm2ysavbfy1jpz8v71r2glrcvhjq8wzw90g9gz"))))
|
||||
(base32 "05gvxiv0yqfclckm2ysavbfy1jpz8v71r2glrcvhjq8wzw90g9gz"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
#~(begin
|
||||
;; Submodules with their own go.mod files and packaged separatly:
|
||||
;;
|
||||
;; - golang.org/x/telemetry/config
|
||||
;; - golang.org/x/telemetry/godev
|
||||
(for-each delete-file-recursively (list "config" "godev"))))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags #~(list "-skip" "TestStart|TestConcurrentStart")
|
||||
#:test-flags
|
||||
#~(list "-skip" (string-join
|
||||
;; Tests fail with error: failed to download config
|
||||
;; module.
|
||||
(list "TestConcurrentStart"
|
||||
"TestDownload"
|
||||
"TestRun_Basic"
|
||||
"TestRun_Concurrent"
|
||||
"TestRun_DebugLog"
|
||||
"TestRun_EmptyUpload"
|
||||
"TestRun_MissingDate"
|
||||
"TestRun_ModeHandling/on"
|
||||
"TestRun_MultipleUploads"
|
||||
"TestRun_Retries"
|
||||
"TestStart") ; no upload occurred on 2786
|
||||
"|"))
|
||||
#:import-path "golang.org/x/telemetry"))
|
||||
(propagated-inputs
|
||||
(list go-golang-org-x-mod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue