diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-14 23:41:41 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-18 11:36:31 +0300 |
commit | 519995f36f1018a74ab534c33db0c2b70ddc48a1 (patch) | |
tree | 84e2163d786a465a2454e42c2573eadca63dc0b2 /gnu/packages | |
parent | 4fcf0425328d45f0204dc92ef58fdcc63caa6382 (diff) | |
download | guix-519995f36f1018a74ab534c33db0c2b70ddc48a1.tar.gz guix-519995f36f1018a74ab534c33db0c2b70ddc48a1.zip |
gnu: Add rust-1.71.
* gnu/packages/rust.scm (rust-1.71): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/rust.scm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 5e860057bc..e158a144e5 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -743,6 +743,25 @@ safety and thread safety guarantees.") ;; for a precompiled library. (patches (search-patches "rust-1.70-fix-rustix-build.patch"))))))) +(define rust-1.71 + (let ((base-rust + (rust-bootstrapped-package + rust-1.70 "1.71.1" "0bj79syjap1kgpg9pc0r4jxc0zkxwm6phjf3digsfafms580vabg"))) + (package + (inherit base-rust) + (arguments + (substitute-keyword-arguments (package-arguments base-rust) + ((#:phases phases) + `(modify-phases ,phases + (replace 'patch-cargo-checksums + (lambda _ + (substitute* (cons* "Cargo.lock" + "src/bootstrap/Cargo.lock" + (find-files "src/tools" "Cargo.lock")) + (("(checksum = )\".*\"" all name) + (string-append name "\"" ,%cargo-reference-hash "\""))) + (generate-all-checksums "vendor")))))))))) + (define (make-ignore-test-list strs) "Function to make creating a list to ignore tests a bit easier." (map (lambda (str) |