GNU bug report logs -
#62643
[PATCH] gnu: rust-1.65: Rename package to rust-next.
Previous Next
Reported by: Simon Tournier <zimon.toutoune <at> gmail.com>
Date: Mon, 3 Apr 2023 14:01:02 UTC
Severity: normal
Tags: notabug, patch
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/rust.scm (rust-next): New exported variable, formerly known as
"rust-1.65".
---
Hi,
This patch allows to install the latest Rust, here 1.65, while the default
Rust used by the cargo build system is 'rust' (here 1.60). Instead of,
guix shell -e '(@@ (gnu packages rust) rust-1.65)'
it allows "guix shell rust-next"; similarly as emacs vs emacs-next.
Cheers,
simon
gnu/packages/rust.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 133c46fb7c..f39a7faac9 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -641,12 +641,16 @@ (define rust-1.64
(string-append name "\"" ,%cargo-reference-hash "\"")))
(generate-all-checksums "vendor"))))))))))
-(define rust-1.65
+;;; Note: Updating Rust is a core-updates change and so the package defined as
+;;; 'rust' cannot always be the latest version. This package 'rust-next' is
+;;; the latest version of Rust.
+(define-public rust-next
(let ((base-rust
(rust-bootstrapped-package
rust-1.64 "1.65.0" "0f005kc0vl7qyy298f443i78ibz71hmmh820726bzskpyrkvna2q")))
(package
(inherit base-rust)
+ (name "rust-next")
(source
(origin
(inherit (package-source base-rust))
base-commit: 1d0158ab9036cff7737cbfb1678f876ae67c4ac2
--
2.38.1
This bug report was last modified 2 years and 49 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.