From: Simon Tournier <zimon.toutoune@gmail.com>
To: 62643@debbugs.gnu.org
Cc: Simon Tournier <zimon.toutoune@gmail.com>, efraim@flashner.co.il
Subject: [bug#62643] [PATCH] gnu: rust-1.65: Rename package to rust-next.
Date: Mon, 3 Apr 2023 16:00:11 +0200 [thread overview]
Message-ID: <20230403140011.294367-1-zimon.toutoune@gmail.com> (raw)
* 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
next reply other threads:[~2023-04-03 14:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-03 14:00 Simon Tournier [this message]
2023-04-03 18:13 ` [bug#62643] [PATCH] gnu: rust-1.65: Rename package to rust-next ( via Guix-patches via
2023-04-03 20:05 ` Maxim Cournoyer
2023-04-03 20:08 ` Efraim Flashner
2023-04-03 20:51 ` Simon Tournier
2023-04-04 3:49 ` Maxim Cournoyer
2023-04-03 20:53 ` Simon Tournier
2023-04-04 3:53 ` Maxim Cournoyer
2023-04-04 7:47 ` Simon Tournier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230403140011.294367-1-zimon.toutoune@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=62643@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).