diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-20 18:13:35 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-21 23:41:52 +0000 |
commit | c149fc769c65fce67d46a6c77fdfd6e269824cb0 (patch) | |
tree | 3d0de074dd90c4a5472fe055dbdfa4c4dd3d8584 /gnu/packages/golang-check.scm | |
parent | 1e4a22c4d7a03ec8614b02f0878bc38b6ba54580 (diff) |
build-system/go: Add skip-build? option key.
Golang project's root may miss any .go files which makes build phase to
fail with error similar to:
no Go files in /tmp/<...>/src/golang.org/x/mod
This change implements a SKIP-BUILD? key parameter which is, by default,
set to #f to invoke build procedure. It is taken from cargo-build-system
* guix/build-system/go.scm (go-build, go-cross-build): Add "skip-build?"
key parameter.
* guix/build/go-build-system.scm (build): Add "skip-build?" key
parameter and implement logic.
Change-Id: I3f41414868a7329cbe99324106427cdae4884d94
Diffstat (limited to 'gnu/packages/golang-check.scm')
0 files changed, 0 insertions, 0 deletions