all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "(" <paren@disroot.org>
To: "Jonas Møller" <jonas@moller.systems>
Cc: guix-devel@gnu.org
Subject: Re: Why does Guix duplicate dependency versions from Cargo.toml?
Date: Thu, 24 Aug 2023 08:05:14 +0100	[thread overview]
Message-ID: <87a5ughqb0.fsf@disroot.org> (raw)
In-Reply-To: <77a0c1d6-1a3d-473b-b86d-1ff17cefe9de@moller.systems>

Jonas Møller <jonas@moller.systems> writes:
> Hi Guix! Why does cargo-build-system need #:cargo-inputs specified in the package definition? This seems like a
> big mistake for a couple of reasons.
>
> 1 It is completely redundant, it should match what is in Cargo.toml. I know `guix import crate` exists to
>  automate this process, but I don't understand the rationale for duplicating this information.

Because it'd be literally impossible to do otherwise.  You'd have to
contort Guix into some pretty weird shapes to change a package
derivation based on what was downloaded as the source.

  -- (


  reply	other threads:[~2023-08-24  7:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-21 19:23 Why does Guix duplicate dependency versions from Cargo.toml? Jonas Møller
2023-08-24  7:05 ` ( [this message]
2023-08-24 10:14   ` Jonas Møller
2023-08-24 19:40     ` (
2023-08-25  9:13 ` Zhu Zihao
2023-08-25 14:56   ` (
2023-08-26 14:08     ` Andreas Enge
2023-08-27 11:18 ` Attila Lendvai

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=87a5ughqb0.fsf@disroot.org \
    --to=paren@disroot.org \
    --cc=guix-devel@gnu.org \
    --cc=jonas@moller.systems \
    /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.