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

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

[debbugs-tracker] bug#37075: closed ([PATCH] gnu: rust: Update to 1.37.0


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#37075: closed ([PATCH] gnu: rust: Update to 1.37.0.)
Date: Fri, 30 Aug 2019 00:46:03 +0000

Your message dated Thu, 29 Aug 2019 17:45:10 -0700
with message-id <address@hidden>
and subject line Re: [bug#37075] [PATCH] gnu: rust: Update to 1.37.0.
has caused the debbugs.gnu.org bug report #37075,
regarding [PATCH] gnu: rust: Update to 1.37.0.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
37075: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37075
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- 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




--- End Message ---
--- Begin Message --- 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

--- End Message ---

reply via email to

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