[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why does Guix duplicate dependency versions from Cargo.toml?
From: |
( |
Subject: |
Re: Why does Guix duplicate dependency versions from Cargo.toml? |
Date: |
Thu, 24 Aug 2023 08:05:14 +0100 |
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.
-- (