From: Jim Newsome <jim@jimnewsome.net>
To: 54439@debbugs.gnu.org, Maxime Devos <maximedevos@telenet.be>
Cc: Jim Newsome <jnewsome@torproject.org>,
Paul Alesius <paul@unnservice.com>,
Felipe Balbi <felipe@balbi.sh>,
kiasoc5@tutanota.com, Pierre Langlois <pierre.langlois@gmx.com>
Subject: [bug#54439] [PATCH core-updates 1/2] gnu: rust: decouple rust-1.57 and "rust"
Date: Wed, 3 Aug 2022 20:47:17 -0500 [thread overview]
Message-ID: <7125a9c1de14dca78c45d16ddeb29339b49ffde7.1659577396.git.jnewsome@torproject.org> (raw)
In-Reply-To: <CAL8jUGUYE0skaxR2q5e=ayeC_7qyOfGsNhH=CoYrb2hSb9E7wg@mail.gmail.com>
From: Jim Newsome <jnewsome@torproject.org>
* gnu/packages/rust.scm (rust-1.57, rust): decouple the definition of
rust-1.57, which happens to be the current latest, from the definition
of rust, which is always the latest. The latter re-enables tests and
extra components, which should always be done only on the final public
rust package, not specifically rust-1.57.
---
gnu/packages/rust.scm | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 759bf9a631..d85acef696 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -540,10 +540,18 @@ (define rust-1.56
(generate-all-checksums "vendor"))))))))))
(define rust-1.57
- (let ((base-rust
- (rust-bootstrapped-package
- rust-1.56 "1.57.0"
- "06jw8ka2p3kls8p0gd4p0chhhb1ia1mlvj96zn78n7qvp71zjiim")))
+ (rust-bootstrapped-package
+ rust-1.56 "1.57.0" "06jw8ka2p3kls8p0gd4p0chhhb1ia1mlvj96zn78n7qvp71zjiim"))
+
+;;; 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
+;;; required to build the full Rust bootstrap chain.
+;;;
+;;; Here we take the latest included Rust, make it public, and re-enable tests
+;;; and extra components such as rustfmt.
+(define-public rust
+ (let ((base-rust rust-1.57))
(package
(inherit base-rust)
(outputs (cons "rustfmt" (package-outputs base-rust)))
@@ -682,12 +690,6 @@ (define rust-1.57
`("procps" ,procps)
(package-native-inputs base-rust))))))
-;;; 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
-;;; required to build the full Rust bootstrap chain.
-(define-public rust rust-1.57)
-
(define-public rust-src
(hidden-package
(package
base-commit: 8a2b5f3f587459c11c037b9d372b4070263baae9
--
2.25.1
next prev parent reply other threads:[~2022-08-04 1:50 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-18 0:21 [bug#54439] Rust: Add Rust 1.59, set default to 1.59 Paul Alesius
2022-03-18 8:23 ` Maxime Devos
2022-03-18 8:55 ` Paul Alesius
2022-03-18 8:25 ` Maxime Devos
2022-03-18 8:25 ` Maxime Devos
2022-03-18 8:26 ` Maxime Devos
2022-03-20 13:58 ` Maxime Devos
2022-03-20 15:36 ` Paul Alesius
2022-03-21 3:31 ` [bug#54439] kiasoc5--- via Guix-patches via
2022-03-26 13:36 ` [bug#54439] Pierre Langlois
2022-04-11 20:04 ` [bug#54439] kiasoc5--- via Guix-patches via
2022-05-20 2:39 ` [bug#54439] Rust 1.61.0 kiasoc5--- via Guix-patches via
2022-06-30 18:57 ` kiasoc5 via Guix-patches via
2022-06-30 20:17 ` Tobias Geerinckx-Rice via Guix-patches via
2022-07-01 1:11 ` kiasoc5 via Guix-patches via
2022-07-01 9:39 ` ( via Guix-patches via
2022-07-03 4:25 ` kiasoc5 via Guix-patches via
2022-08-04 1:47 ` [bug#54439] [PATCH core-updates] gnu: rust: Use rust-1.60.0 Jim Newsome
2022-08-04 11:03 ` bug#54439: " Marius Bakke
2022-08-04 15:08 ` [bug#54439] " Jim Newsome
2022-08-04 1:47 ` Jim Newsome [this message]
2022-08-04 1:47 ` [bug#54439] [PATCH core-updates 2/2] " Jim Newsome
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=7125a9c1de14dca78c45d16ddeb29339b49ffde7.1659577396.git.jnewsome@torproject.org \
--to=jim@jimnewsome.net \
--cc=54439@debbugs.gnu.org \
--cc=felipe@balbi.sh \
--cc=jnewsome@torproject.org \
--cc=kiasoc5@tutanota.com \
--cc=maximedevos@telenet.be \
--cc=paul@unnservice.com \
--cc=pierre.langlois@gmx.com \
/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).