diff options
author | Sarah Morgensen <iskarian@mgsn.dev> | 2021-09-19 22:20:51 -0700 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-12-24 16:32:25 -0500 |
commit | 717be95339c953f53a22b9d98378c76025263737 (patch) | |
tree | d1d6896add6859efa39270eb29609b276572931c /gnu/packages/ipfs.scm | |
parent | d6121d7dd6998118de2c9327291cc942fff54e31 (diff) |
build-system/go: Use go-1.17 by default.
Build all Go packages with go-1.17 by default. Explicitly specify an
older Go version in packages which cannot build with go-1.17.
* gnu/packages/golang.scm (go): Update from 'go-1.14' to 'go-1.17'.
* gnu/packages/docker.scm (docker)[native-inputs]: Explicitly use 'go-1.14'.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-cmdkit-files)[arguments]:
Explicitly use Go 1.16.
(go-ipfs)[arguments]: Use the default version of Go.
* gnu/packages/syncthing.scm (syncthing)[arguments]: Likewise.
* gnu/packages/admin.scm (runitor)[arguments]: Likewise.
Signed-off-by: Leo Famulari <leo@famulari.name>
Diffstat (limited to 'gnu/packages/ipfs.scm')
-rw-r--r-- | gnu/packages/ipfs.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm index f566b850aa..7e9a49a31b 100644 --- a/gnu/packages/ipfs.scm +++ b/gnu/packages/ipfs.scm @@ -48,7 +48,8 @@ "0qk6fshgdmhp8dip2ksm13j6nywi41m9mn0czkvmw6b697z85l2r")))) (build-system go-build-system) (arguments - '(#:unpack-path "github.com/ipfs/go-ipfs-cmdkit" + `(#:go ,go-1.16 + #:unpack-path "github.com/ipfs/go-ipfs-cmdkit" #:import-path "github.com/ipfs/go-ipfs-cmdkit/files")) (home-page "https://github.com/ipfs/go-ipfs-cmdkit") (synopsis "Shared types, functions and values for go-ipfs") @@ -230,7 +231,6 @@ written in Go.") (arguments `(#:unpack-path "github.com/ipfs/go-ipfs" #:import-path "github.com/ipfs/go-ipfs/cmd/ipfs" - #:go ,go-1.17 #:phases (modify-phases %standard-phases (add-before 'reset-gzip-timestamps 'make-files-writable (lambda* (#:key outputs #:allow-other-keys) |