guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#72963] [PATCH go-team 17/30] gnu: Add go-inputs procedure.


From: Herman Rimm
Subject: [bug#72963] [PATCH go-team 17/30] gnu: Add go-inputs procedure.
Date: Mon, 2 Sep 2024 14:18:25 +0200

* gnu/packages/golang.scm (go-inputs): Add procedure.
---
 gnu/packages/golang.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index be885d90ca..1822b640dc 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -111,6 +111,11 @@ (define-module (gnu packages golang)
 ;; installation of go, so we need to use go-1.4 or gccgo.  For architectures 
which
 ;; are not supported with go-1.4 we use a version of gccgo to bootstrap them.
 
+(define-public (go-inputs package)
+  (call-with-values
+    (lambda () (unzip2 (package-propagated-inputs package)))
+    (lambda (labels symbols) symbols)))
+
 (define-public go-1.4
   (package
     (name "go")
-- 
2.45.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]