guix-patches
[Top][All Lists]
Advanced

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

[bug#39317] [PATCH] gnu: go: Update to 1.13.6.


From: Jakub Kądziołka
Subject: [bug#39317] [PATCH] gnu: go: Update to 1.13.6.
Date: Mon, 27 Jan 2020 22:46:50 +0100

* gnu/packages/golang.scm (go-1.12): Rename to...
  (go-1.13): This.
  (go-1.13)[version]: Update to 1.13.6.
  (go-1.13)[arguments]: Don't delete ../pkg/bootstrap, as the file is no
  longer generated during build.
  (go): Point to the renamed go-1.13 instead.
---
 gnu/packages/golang.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a6b5f2a4cf..98db7b5fec 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -216,11 +216,11 @@ in the style of communicating sequential processes 
(@dfn{CSP}).")
     (supported-systems '("x86_64-linux" "i686-linux" "armhf-linux" 
"aarch64-linux"))
     (license license:bsd-3)))
 
-(define-public go-1.12
+(define-public go-1.13
   (package
     (inherit go-1.4)
     (name "go")
-    (version "1.12.15")
+    (version "1.13.6")
     (source
      (origin
        (method url-fetch)
@@ -228,7 +228,7 @@ in the style of communicating sequential processes 
(@dfn{CSP}).")
                            name version ".src.tar.gz"))
        (sha256
         (base32
-         "1hw4xjywcl883dnvfbb92w85sy8n231fdri4aynj8xajgr0p9fla"))))
+         "03220q6n4wlpmz6zz3mw48kl3pjxia6pxdvf03wbqh6w9favxrda"))))
     (arguments
      (substitute-keyword-arguments (package-arguments go-1.4)
        ((#:phases phases)
@@ -367,7 +367,6 @@ in the style of communicating sequential processes 
(@dfn{CSP}).")
                       (docs (string-append doc_out "/share/doc/" ,name "-" 
,version))
                       (src (string-append
                             (assoc-ref outputs "tests") "/share/" ,name "-" 
,version)))
-                 (delete-file-recursively "../pkg/bootstrap")
                  ;; Prevent installation of the build cache, which contains
                  ;; store references to most of the tools used to build Go and
                  ;; would unnecessarily increase the size of Go's closure if it
@@ -405,7 +404,7 @@ in the style of communicating sequential processes 
(@dfn{CSP}).")
        ,@(package-native-inputs go-1.4)))
     (supported-systems %supported-systems)))
 
-(define-public go go-1.12)
+(define-public go go-1.13)
 
 (define-public go-github-com-alsm-ioprogress
   (let ((commit "063c3725f436e7fba0c8f588547bee21ffec7ac5")
-- 
2.25.0






reply via email to

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