Subject: bug#35276: closed (Re: [PATCH] gnu: rust: Update to 1.34.0)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 14 Apr 2019 20:01:02 +0000

Your bug report

#35276: [PATCH] gnu: rust: Update to 1.34.0

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
35276: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35276
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [PATCH] gnu: rust: Update to 1.34.0
From: Danny Milosavljevic <[email-masked]>
To: Ivan Petkov <[email-masked]>
Cc: [email-masked]
Date: Sun, 14 Apr 2019 22:00:00 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Ivan,

thanks!

I've pushed that patch to guix master as a5c72da46c302511ef77f02ed9725e701ab82687.

Subject: [PATCH] gnu: rust: Update to 1.34.0
From: Ivan Petkov <[email-masked]>
To: [email-masked]
Cc: Danny Milosavljevic <[email-masked]>
Date: Sun, 14 Apr 2019 09:54:58 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/rust.scm (rust): Replace with rust-1.34 package
---
 gnu/packages/rust.scm | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 5198fd3328..26f20f31f2 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1006,4 +1006,18 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
                  (setenv "RUST_TEST_THREADS" "2")
                  #t)))))))))
 
-(define-public rust rust-1.33)
+(define-public rust
+  (let ((base-rust
+         (rust-bootstrapped-package rust-1.33 "1.34.0"
+                                    "0n8z1wngkxab1rvixqg6w8b727hzpnm9wp9h8iy3mpbrzp7mmj3s"
+                                    #:patches '())))
+    (package
+      (inherit base-rust)
+      (source
+        (origin
+          (inherit (package-source base-rust))
+          (snippet '(begin
+                      (delete-file-recursively "src/llvm-emscripten")
+                      (delete-file-recursively "src/llvm-project")
+                      (delete-file-recursively "vendor/jemalloc-sys/jemalloc")
+                      #t)))))))
-- 
2.21.0