me
/
guix
Archived
1
0
Fork 0

gnu: go-github-com-ipfs-go-ipfs-cmdkit-files: Build on more systems.

* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-cmdkit-files)
[arguments]: When building on systems which don't support go-1.16 use
gccgo-11.

Change-Id: I0cf1e3a429603dde3a7dc75f4088c5b5f62ebad4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
master
Efraim Flashner 2024-07-09 19:05:18 +03:00 committed by Sharlatan Hellseher
parent 69ddff2d62
commit 1aa8dfaeec
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
1 changed files with 4 additions and 1 deletions

View File

@ -29,6 +29,7 @@
#:use-module (guix git-download)
#:use-module (guix download)
#:use-module (guix build-system go)
#:use-module (gnu packages gcc)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-check)
@ -147,7 +148,9 @@ with @url{https://github.com/ipld/cid, CIDs}.")
"0qk6fshgdmhp8dip2ksm13j6nywi41m9mn0czkvmw6b697z85l2r"))))
(build-system go-build-system)
(arguments
`(#:go ,go-1.16
`(#:go ,@(if (supported-package? go-1.16)
`(,go-1.16)
`(,gccgo-11))
#: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")