summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorIvan Petkov <ivanppetkov@gmail.com>2019-07-04 22:43:17 -0700
committerIvan Petkov <ivanppetkov@gmail.com>2019-07-11 20:18:07 -0700
commitf67f93b6d60c898c3125068b468c2a339678916a (patch)
tree0422e53c838f6327f7684c03a121b6171cd23f63 /gnu
parent14727aaa0367b22bb3eb0305e85f5865d8c731cc (diff)
downloadguix-f67f93b6d60c898c3125068b468c2a339678916a.tar.gz
gnu: rust: Update to 1.36.0.
* gnu/packages/rust.scm (rust): Rename to...
(rust-1.35): ...this.
(rust): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/rust.scm14
1 files changed, 13 insertions, 1 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 9444d8be73..e9dd5994cd 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1050,7 +1050,7 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
                       (delete-file-recursively "vendor/jemalloc-sys/jemalloc")
                       #t)))))))
 
-(define-public rust
+(define-public rust-1.35
   (let ((base-rust
          (rust-bootstrapped-package rust-1.34 "1.35.0"
            "0bbizy6b7002v1rdhrxrf5gijclbyizdhkglhp81ib3bf5x66kas")))
@@ -1072,3 +1072,15 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
                  (substitute* "src/tools/tidy/src/main.rs"
                    (("bins::check") "//bins::check"))
                  #t)))))))))
+
+(define-public rust
+  (let ((base-rust
+         (rust-bootstrapped-package rust-1.35 "1.36.0"
+           "18r688ih4xi9m8gv55g1amb8inrwkdxp5fbcqb6i4gqxi90l3i0m")))
+    (package
+      (inherit base-rust)
+      (arguments
+       (substitute-keyword-arguments (package-arguments base-rust)
+         ((#:phases phases)
+          `(modify-phases ,phases
+             (delete 'patch-process-docs-rev-cmd))))))))