GNU bug report logs - #37075
[PATCH] gnu: rust: Update to 1.37.0.

Previous Next

Package: guix-patches;

Reported by: Ivan Petkov <ivanppetkov <at> gmail.com>

Date: Sun, 18 Aug 2019 15:28:01 UTC

Severity: normal

Tags: patch

Done: Ivan Petkov <ivanppetkov <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37075 in the body.
You can then email your comments to 37075 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#37075; Package guix-patches. (Sun, 18 Aug 2019 15:28:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ivan Petkov <ivanppetkov <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 18 Aug 2019 15:28:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ivan Petkov <ivanppetkov <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>,
 Efraim Flashner <efraim <at> flashner.co.il>
Subject: [PATCH] gnu: rust: Update to 1.37.0.
Date: Sun, 18 Aug 2019 08:27:15 -0700
* gnu/packages/rust.scm (rust): Rename to...
(rust-1.36): ...this.
(rust): New variable.
---
 gnu/packages/rust.scm | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index b4c50437f7..6d1b9f1fe4 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1073,7 +1073,7 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
                    (("bins::check") "//bins::check"))
                  #t)))))))))
 
-(define-public rust
+(define-public rust-1.36
   (let ((base-rust
          (rust-bootstrapped-package rust-1.35 "1.36.0"
            "06xv2p6zq03lidr0yaf029ii8wnjjqa894nkmrm6s0rx47by9i04")))
@@ -1084,3 +1084,20 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
          ((#:phases phases)
           `(modify-phases ,phases
              (delete 'patch-process-docs-rev-cmd))))))))
+
+(define-public rust
+  (let ((base-rust
+         (rust-bootstrapped-package rust-1.36 "1.37.0"
+           "1hrqprybhkhs6d9b5pjskfnc5z9v2l2gync7nb39qjb5s0h703hj")))
+    (package
+      (inherit base-rust)
+      (arguments
+       (substitute-keyword-arguments (package-arguments base-rust)
+         ((#:phases phases)
+          `(modify-phases ,phases
+             (add-before 'configure 'configure-cargo-home
+               (lambda _
+                 (let ((cargo-home (string-append (getcwd) "/.cargo")))
+                   (mkdir-p cargo-home)
+                   (setenv "CARGO_HOME" cargo-home)
+                   #t))))))))))
-- 
2.23.0





Information forwarded to guix-patches <at> gnu.org:
bug#37075; Package guix-patches. (Fri, 23 Aug 2019 21:36:02 GMT) Full text and rfc822 format available.

Message #8 received at 37075 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Ivan Petkov <ivanppetkov <at> gmail.com>
Cc: 37075 <at> debbugs.gnu.org, Efraim Flashner <efraim <at> flashner.co.il>,
 Danny Milosavljevic <dannym <at> scratchpost.org>
Subject: Re: [bug#37075] [PATCH] gnu: rust: Update to 1.37.0.
Date: Fri, 23 Aug 2019 23:35:37 +0200
Hi Ivan,

Ivan Petkov <ivanppetkov <at> gmail.com> skribis:

> * gnu/packages/rust.scm (rust): Rename to...
> (rust-1.36): ...this.
> (rust): New variable.

Nice, I guess you can go ahead and push it.

Thanks,
Ludo’.




Reply sent to Ivan Petkov <ivanppetkov <at> gmail.com>:
You have taken responsibility. (Fri, 30 Aug 2019 00:46:03 GMT) Full text and rfc822 format available.

Notification sent to Ivan Petkov <ivanppetkov <at> gmail.com>:
bug acknowledged by developer. (Fri, 30 Aug 2019 00:46:03 GMT) Full text and rfc822 format available.

Message #13 received at 37075-done <at> debbugs.gnu.org (full text, mbox):

From: Ivan Petkov <ivanppetkov <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 37075-done <at> debbugs.gnu.org
Subject: Re: [bug#37075] [PATCH] gnu: rust: Update to 1.37.0.
Date: Thu, 29 Aug 2019 17:45:10 -0700
Pushed in 02c61278f1327d403f072f42e6b92a1dc62fc93a

—Ivan



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 27 Sep 2019 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 213 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.