all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Creating an unversioned rust-cargo symbol
@ 2024-02-29 22:42 Richard Sent
  2024-03-11  8:58 ` Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Sent @ 2024-02-29 22:42 UTC (permalink / raw)
  To: guix-devel

Hi Guix,

There isn't an unversioned symbol for rust-cargo defined or exported by
the (gnu packages crates-io) module. I think it would be best if an
unversioned rust-cargo symbol was created that was equal to the highest
rust-cargo release. (i.e. rust-cargo, not rust-cargo-0.76)

Alternatively, since (seemingly) only one rust-cargo package is present
at a time, perhaps the version information could be removed outright and
only an unversioned symbol used.

The alternative, (specification->package), does not work in all
circumstances (primarily with -L) [1]. This would also make Scheme code
that refers to rust-cargo cleaner, either not needing updating every new
version when the symbol changes or removing potentially awkward
(specification->package) calls.

I see that most/all of the symbols in crates-io are versioned. While
from a user perspective it would be nice if there were more unversioned
symbols, rust-cargo is /probably/ the one that needs it the most since
it's so central to the ecosystem. I can also see why versioning every
symbol might help with development given Rust's release schedule and
bootstrapping chain.

This would follow the pattern of linux-libre.

Posting to guix-devel instead of bug-guix since I'm not entirely sure
this is a bug or working as intended.

[1] https://lists.gnu.org/archive/html/guix-devel/2022-12/msg00310.html

-- 
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-11  8:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-29 22:42 Creating an unversioned rust-cargo symbol Richard Sent
2024-03-11  8:58 ` Efraim Flashner

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.