[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/27: gnu: Update default Go compiler to Go 1.12.
From: |
guix-commits |
Subject: |
26/27: gnu: Update default Go compiler to Go 1.12. |
Date: |
Mon, 29 Jul 2019 14:57:22 -0400 (EDT) |
lfam pushed a commit to branch master
in repository guix.
commit 0c3c597d2ed649005798f670b13755ee55e6dc9a
Author: Leo Famulari <address@hidden>
Date: Thu Jul 25 12:51:13 2019 -0400
gnu: Update default Go compiler to Go 1.12.
* gnu/packages/golang.scm (go): Update to go-1.12.
* guix/build/go-build-system.scm (setup-go-environment): Set $GOCACHE.
---
gnu/packages/golang.scm | 2 +-
guix/build/go-build-system.scm | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4a3b42f..c67ef03 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -584,7 +584,7 @@ in the style of communicating sequential processes
(@dfn{CSP}).")
,@(package-native-inputs go-1.4)))
(supported-systems %supported-systems)))
-(define-public go go-1.11)
+(define-public go go-1.12)
(define-public go-github-com-alsm-ioprogress
(let ((commit "063c3725f436e7fba0c8f588547bee21ffec7ac5")
diff --git a/guix/build/go-build-system.scm b/guix/build/go-build-system.scm
index 858068b..3dac43c 100644
--- a/guix/build/go-build-system.scm
+++ b/guix/build/go-build-system.scm
@@ -135,6 +135,9 @@ of the package being built and its dependencies, and GOBIN,
which determines
where executables (\"commands\") are installed to. This phase is sometimes
used
by packages that use (guix build-system gnu) but have a handful of Go
dependencies, so it should be self-contained."
+ ;; The Go cache is required starting in Go 1.12. We don't actually use it
but
+ ;; we need it to be a writable directory.
+ (setenv "GOCACHE" "/tmp/go-cache")
;; Using the current working directory as GOPATH makes it easier for
packagers
;; who need to manipulate the unpacked source code.
(setenv "GOPATH" (getcwd))
- branch master updated (cb3625b -> 18c4b0a), guix-commits, 2019/07/29
- 01/27: gnu: Add go-golang-org-x-tools., guix-commits, 2019/07/29
- 04/27: gnu: Add go-github-com-cheekybits-genny., guix-commits, 2019/07/29
- 06/27: gnu: Move go-github-com-pkg-errors to the Golang package module., guix-commits, 2019/07/29
- 08/27: gnu: Add go-github-com-certifi-gocertifi., guix-commits, 2019/07/29
- 17/27: gnu: go-gopkg-in-check-v1: Update to v1-1.0.0-1.788fd78., guix-commits, 2019/07/29
- 02/27: gnu: Add go-golang-org-x-crypto., guix-commits, 2019/07/29
- 20/27: gnu: go-github-com-prometheus-client-model-go: Update to 0.0.2-1.fd36f42., guix-commits, 2019/07/29
- 16/27: gnu: go-gopkg-in-yaml-v2: Update to 2.2.2., guix-commits, 2019/07/29
- 09/27: gnu: go-github-com-getsentry-raven-go: Update to 0.2.0-0.5c24d51., guix-commits, 2019/07/29
- 26/27: gnu: Update default Go compiler to Go 1.12.,
guix-commits <=
- 03/27: gnu: Add go-github-com-marten-seemann-qtls., guix-commits, 2019/07/29
- 05/27: gnu: Add go-github-com-lucas-clemente-quic-go., guix-commits, 2019/07/29
- 07/27: gnu: go-github-com-pkg-errors: Update to 0.8.1-0.27936f6., guix-commits, 2019/07/29
- 18/27: gnu: Go standard 'sys' packages: Update to 0.0.0-3.5ed2794., guix-commits, 2019/07/29
- 15/27: gnu: Prometheus Go client: Update to 0.9.4., guix-commits, 2019/07/29
- 13/27: gnu: Add go-github-com-ccding-go-stun., guix-commits, 2019/07/29
- 11/27: gnu: Go Prometheus tools: Update to 0.9.3., guix-commits, 2019/07/29
- 12/27: gnu: Add go-github-com-audriusbutkevicius-pfilter., guix-commits, 2019/07/29
- 14/27: gnu: go-github-com-syndtr-goleveldb: Update to 1.0.1-3.c3a204f., guix-commits, 2019/07/29
- 10/27: gnu: Add go-github-com-maruel-panicparse., guix-commits, 2019/07/29