From b4762e1e87266dfe112fbb0fafea17da1737f995 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 15 Nov 2022 16:28:13 +0200 Subject: gnu: Add rust-1.64. * gnu/packages/rust.scm (rust-1.64): New variable. --- gnu/packages/rust.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index ac3cbc1801..e162900acf 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -619,6 +619,24 @@ safety and thread safety guarantees.") (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 -- cgit 1.4.1