From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: Overhauling the cargo-build-system Date: Sat, 16 Nov 2019 22:33:32 +0100 Message-ID: <87imnjtsk3.fsf@gnu.org> References: <20191010155056.GD1301@E5400> <87d0f4p6xd.fsf@gnu.org> <20191011141342.GC13364@E5400> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59027) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iW5hG-0006Jm-SK for guix-devel@gnu.org; Sat, 16 Nov 2019 16:33:35 -0500 In-Reply-To: (Martin Becze's message of "Fri, 15 Nov 2019 22:31:34 -0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Martin Becze Cc: guix-devel@gnu.org Hello! Martin Becze skribis: > Sorry for digging up and old issue, but i just saw commit > 86e443c71d4d19e6f80cad9ca15b9c3a301c738c > >> It makes for a very large package definition, but we > wouldn't have to ensure thousands of other rust libraries built so we > > The whole point of package management is that you can use module > building blocks. By having to specify the sub-dependencies in a top > level definition kinda breaks the whole modular thing. In commit > 86e443c71d4d19e6f80cad9ca15b9c3a301c738c all the inputs got removed for > all the libraries. So if I'm trying to use guix as package manager for a > rust project and I want to use one of the rust libraries in > crates-io.scm, how am i suppose to do this? I can't just include it as > an input to my project because now I have to look up all of it > dependencies as well? I agree that removing all the dependencies from Rust packages feels wrong. What I would have liked is to somehow replace the #:cargo-inputs argument (which is build-system-specific and thus =E2=80=9Copaque=E2=80=9D)= with regular =E2=80=98native-inputs=E2=80=99 or =E2=80=98inputs=E2=80=99 field. I know it=E2=80=99s not that easy with Rust and Cargo, I just never manage = to fully grasp why :-), but at least that should be our horizon IMO. WDYT, Efraim, Martin, and other Rusty people? :-) Thanks, Ludo=E2=80=99.