GNU bug report logs - #76345
[PATCH 0/2] Add rust 1.83, 1.84

Previous Next

Package: guix-patches;

Reported by: Zheng Junjie <z572 <at> z572.online>

Date: Sun, 16 Feb 2025 17:55:02 UTC

Severity: normal

Tags: patch

Done: Z572 <zhengjunjie <at> iscas.ac.cn>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Zheng Junjie <z572 <at> z572.online>
To: 76345 <at> debbugs.gnu.org
Cc: Divya Ranjan Pattanaik <divya <at> subvertising.org>, Efraim Flashner <efraim <at> flashner.co.il>
Subject: [bug#76345] [PATCH 2/2] gnu: Add rust-1.84.
Date: Mon, 17 Feb 2025 02:02:41 +0800
* gnu/packages/rust.scm (rust-1.84): New variable.

Change-Id: I3d94cf252983e30aa68d55933a62e767e6530e68
---
 gnu/packages/rust.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index d6b78209ac2..33d7b123f39 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1082,6 +1082,23 @@ (define-public rust-1.83
                    (("\\[llvm\\]")
                     "[llvm]\ndownload-ci-llvm = false")))))))))))
 
+(define-public rust-1.84
+  (let ((base-rust
+         (rust-bootstrapped-package
+          rust-1.83 "1.84.1"
+          "0xdk3g1xq33fy4m7q6l38ba9ydxbanccyb0vczvlk998jvababsy")))
+    (package
+      (inherit base-rust)
+      (arguments
+       (substitute-keyword-arguments (package-arguments base-rust)
+         ((#:phases phases)
+          `(modify-phases ,phases
+             (add-after 'configure 'not-download-rustc
+               (lambda _
+                 (substitute* "config.toml"
+                   (("\\[rust\\]")
+                    "[rust]\ndownload-rustc = false")))))))))))
+
 
 (define (make-ignore-test-list strs)
   "Function to make creating a list to ignore tests a bit easier."
-- 
2.47.1





This bug report was last modified 151 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.