gnu: rust: Update to 1.37.0.

* gnu/packages/rust.scm (rust): Rename to...
(rust-1.36): ...this.
(rust): New variable.
This commit is contained in:
Ivan Petkov 2019-08-11 15:07:05 -07:00
parent c3e59de9b1
commit 02c61278f1
No known key found for this signature in database
GPG Key ID: 0B431E9837056942
1 changed files with 18 additions and 1 deletions

View File

@ -1073,7 +1073,7 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
(("bins::check") "//bins::check")) (("bins::check") "//bins::check"))
#t))))))))) #t)))))))))
(define-public rust (define-public rust-1.36
(let ((base-rust (let ((base-rust
(rust-bootstrapped-package rust-1.35 "1.36.0" (rust-bootstrapped-package rust-1.35 "1.36.0"
"06xv2p6zq03lidr0yaf029ii8wnjjqa894nkmrm6s0rx47by9i04"))) "06xv2p6zq03lidr0yaf029ii8wnjjqa894nkmrm6s0rx47by9i04")))
@ -1084,3 +1084,20 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
((#:phases phases) ((#:phases phases)
`(modify-phases ,phases `(modify-phases ,phases
(delete 'patch-process-docs-rev-cmd)))))))) (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))))))))))