From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: phodina <phodina@protonmail.com>
Cc: help-guix <help-guix@gnu.org>, Efraim Flashner <efraim@flashner.co.il>
Subject: Re: Specifying rust version
Date: Tue, 27 Dec 2022 12:34:06 -0500 [thread overview]
Message-ID: <87y1qs699t.fsf@gmail.com> (raw)
In-Reply-To: <rWJVp3VrfrH3Cw7inEY7Ltw8iU2Laf8JtYsC1H0Zt8zW1mxCpXPtuSQtenCpmk3x5l8d-D0wRfw4ncX7zNmC16cPdZ8hs3yuS5ZbWsqoJ5E=@protonmail.com> (phodina@protonmail.com's message of "Tue, 27 Dec 2022 16:00:35 +0000")
Hi,
phodina <phodina@protonmail.com> writes:
[...]
>> It's typical that build system or services expose a way for the user to
>> use a variant of a package, but in the case of rust, I don't think it
>> should be advertised as a way to use different rust versions (given only
>> the last version is supported by upstream, e.g. sometimes fixing CVEs).
>
> I have to agree with you that this is just an anti-pattern and the #:rust
> should not be advertised.
>
> The best approach would be to add new rust version and switch to it.
>
> So do you think Maxim the `#:rust` parameter should be dropped and the
> documentation also removed?
I don't think it needs to be dropped, as it can be useful for
experimentation. Sometimes, newer rust may be needed and the work to
update the entire collection (with the risks it entails or the build
time) deferred, in which case it could be used. It's preferable though
to do the work to package the latest and greatest rust and rebuild the
whole collection with it, on a branch though.
I hope that helps,
--
Thanks,
Maxim
prev parent reply other threads:[~2022-12-27 17:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <9HPT231QhmBHf-sXMAX0HcaUXokVCH-pKqntxd3QLQ4aH53EYk4soFhngqkdfsasYo-0g7JFk8zZhMInQgGwQBRsd19OWvc1y1PadBYTjlg=@protonmail.com>
2022-12-26 9:00 ` Specifying rust version phodina via
2022-12-27 6:53 ` Efraim Flashner
2022-12-27 14:40 ` Maxim Cournoyer
2022-12-27 16:00 ` phodina
2022-12-27 17:34 ` Maxim Cournoyer [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y1qs699t.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=efraim@flashner.co.il \
--cc=help-guix@gnu.org \
--cc=phodina@protonmail.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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.