emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#47434: closed ([PATCH] Added Go 1.16.2)


From: GNU bug Tracking System
Subject: bug#47434: closed ([PATCH] Added Go 1.16.2)
Date: Thu, 05 Aug 2021 22:51:01 +0000

Your message dated Thu, 05 Aug 2021 15:50:49 -0700
with message-id <861r7733qu.fsf@mgsn.dev>
and subject line Re: bug#47434: [PATCH] Added Go 1.16.2
has caused the debbugs.gnu.org bug report #47434,
regarding [PATCH] Added Go 1.16.2
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
47434: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47434
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] Added Go 1.16.2 Date: Sat, 27 Mar 2021 17:29:53 +0100
Signed-off-by: Néfix Estrada <nefixestrada@gmail.com>
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d9988cd7ad..df17955c93 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -25,6 +25,7 @@
 ;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
 ;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2021 Néfix Estrada <nefixestrada@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -440,6 +441,32 @@ in the style of communicating sequential processes 
(@dfn{CSP}).")
        ,@(package-native-inputs go-1.4)))
     (supported-systems %supported-systems)))
 
+(define-public go-1.16
+  (package
+    (inherit go-1.14)
+    (name "go")
+    (version "1.16.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/golang/go";)
+             (commit (string-append "go" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1cvw81hgb7akqp53lqbgpk303km8a7xs7lcr8c8z30hr5ql2kz90"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments go-1.14)
+       ((#:phases phases)
+        `(modify-phases ,phases
+          (add-after 'prebuild 'prebuild-1-16
+            (lambda* (#:key inputs #:allow-other-keys)
+              (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") 
"/lib")))
+                (substitute* "cmd/go/testdata/script/link_syso_issue33139.txt"
+                  (("\\[\\!cgo\\] skip")
+                   "[!exec:cc] skip")))))))))))
+
 (define-public go go-1.14)
 
 (define-public go-github-com-alsm-ioprogress
-- 
2.31.0




--- End Message ---
--- Begin Message --- Subject: Re: bug#47434: [PATCH] Added Go 1.16.2 Date: Thu, 05 Aug 2021 15:50:49 -0700
Superseded by #49221; closing.


--- End Message ---

reply via email to

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