guix-patches
[Top][All Lists]
Advanced

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

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


From: Ivan Petkov
Subject: [bug#35276] [PATCH] gnu: rust: Update to 1.34.0
Date: Sun, 14 Apr 2019 09:54:58 -0700

* 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






reply via email to

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