unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#72014] [PATCH] gnu: go-github-com-ipfs-go-ipfs-cmdkit-files: Build on more systems.
@ 2024-07-09 16:05 Efraim Flashner
  2024-07-11 18:33 ` Sharlatan Hellseher
  2024-07-18 22:13 ` bug#72014: " Sharlatan Hellseher
  0 siblings, 2 replies; 4+ messages in thread
From: Efraim Flashner @ 2024-07-09 16:05 UTC (permalink / raw)
  To: 72014; +Cc: Efraim Flashner

* 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
---
 gnu/packages/ipfs.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index daf68903c2..ab7cfb53ad 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -29,6 +29,7 @@ (define-module (gnu packages ipfs)
   #: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)
@@ -150,7 +151,9 @@ (define-public go-github-com-ipfs-go-ipfs-cmdkit-files
               "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")

base-commit: 395a3a3b003f219beb33ed2539ff0a8a35502b59
-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted





^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-18 22:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-09 16:05 [bug#72014] [PATCH] gnu: go-github-com-ipfs-go-ipfs-cmdkit-files: Build on more systems Efraim Flashner
2024-07-11 18:33 ` Sharlatan Hellseher
2024-07-11 18:52   ` Efraim Flashner
2024-07-18 22:13 ` bug#72014: " Sharlatan Hellseher

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).