mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add rust-1.64.
* gnu/packages/rust.scm (rust-1.64): New variable.
This commit is contained in:
parent
9a27b61d37
commit
b4762e1e87
1 changed files with 18 additions and 0 deletions
|
@ -619,6 +619,24 @@ (define rust-1.63
|
|||
(rust-bootstrapped-package
|
||||
rust-1.62 "1.63.0" "1l4rrbzhxv88pnfq94nbyb9m6lfnjwixma3mwjkmvvs2aqlq158z"))
|
||||
|
||||
(define rust-1.64
|
||||
(let ((base-rust
|
||||
(rust-bootstrapped-package
|
||||
rust-1.63 "1.64.0" "018j720b2n12slp4xk64jc6shkncd46d621qdyzh2a8s3r49zkdk")))
|
||||
(package
|
||||
(inherit base-rust)
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments base-rust)
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(replace 'patch-cargo-checksums
|
||||
(lambda* _
|
||||
(substitute* '("Cargo.lock"
|
||||
"src/bootstrap/Cargo.lock")
|
||||
(("(checksum = )\".*\"" all name)
|
||||
(string-append name "\"" ,%cargo-reference-hash "\"")))
|
||||
(generate-all-checksums "vendor"))))))))))
|
||||
|
||||
;;; Note: Only the latest versions of Rust are supported and tested. The
|
||||
;;; intermediate rusts are built for bootstrapping purposes and should not
|
||||
;;; be relied upon. This is to ease maintenance and reduce the time
|
||||
|
|
Loading…
Reference in a new issue