unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Paul Alesius <paul@unnservice.com>, guix-devel@gnu.org
Subject: Re: Packaging rust-analyzer is not necessary.
Date: Sat, 26 Mar 2022 16:30:49 +0100	[thread overview]
Message-ID: <a098b294d1149bcadc4bf713897c530771bfd927.camel@telenet.be> (raw)
In-Reply-To: <CAL8jUGWWt4HpOXpaLfZG-HSUxBXVgULBX8guAjkRAZ=TwZay7A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2199 bytes --]

Paul Alesius schreef op vr 25-03-2022 om 09:05 [+0100]:
> I've tried to produce a patch for the latest version, and it has
> probably hundreds of dependencies that need to be updated.

Even if you didn't succeed at updating _all_ dependencies, if you
have patches for some of them, please send them.  It will help people
in the future with updating rust-analyzer or other rust packages.

And is it necessary to update _all_ dependencies?  For comparison,
graphical applications usually compile just fine even if gtk+ or glibc
are somewhat old.

> In addition to that, rust-analyzer is under heavy development and
> there is a release every month. Many people will want to use the
> nightly version too.

For many people, a vaguely recent-ish version would be sufficient.  At
least, that's the case for C, GCC and Clang.

> As long as there is rust and rust-cargo in Guix, then rust-analyzer
> can be easily compiled and installed from git with "cargo xtask
> install --server" using the rust-cargo system.
> 
> I'd suggest that a Guix package for rust-analyzer is not needed,
> especially due to the excessive time required to update its package
> definition and all of the vendored dependency crates,

What is the point of a distribution if it not distributing packages?
Removing a package for being ~two months old and pointing users to
Rust's equivalent of "curl ... | bash -" instead seems a disservice to
users to me.

If I just do ‘cargo xtask install --server", how do I know if it isn't
bundling anything or containing malware?  Modifying the source code
seems also non-trivial, compared to Guix where one can do things like
--with-patch.  What about statelessness, reproducibility, time-
machine, the SWH fallback and sharing substitutes on the local network?

It might be possible to do "cargo xtask install --server", but many
advantages of Guix would be lost.

> and focus should instead be on rust and rust-cargo.

Indeed, e.g. it would be nice to figure out how to eliminate #:skip-
build?, replace #:cargo-inputs by regular inputs, figure out how to
stop having to package multiple versions of the same package.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

  reply	other threads:[~2022-03-26 15:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-25  8:05 Packaging rust-analyzer is not necessary Paul Alesius
2022-03-26 15:30 ` Maxime Devos [this message]
2022-03-26 16:33   ` John Soo
2022-05-09 19:06     ` Maxime Devos
2022-03-28 23:50 ` Improving importers best investment for growing gnu/packages/ Brendan Tildesley
2022-03-29  9:01   ` Maxime Devos
2022-03-29 10:30     ` Brendan Tildesley
2022-03-29 19:03   ` Liliana Marie Prikler
2022-05-02  9:19   ` zimoun

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=a098b294d1149bcadc4bf713897c530771bfd927.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=guix-devel@gnu.org \
    --cc=paul@unnservice.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).