From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ivan Petkov Subject: Re: guix import crate wraps #:cargo-inputs twice Date: Sun, 30 Jun 2019 15:09:41 -0700 Message-ID: References: <874l4ili56.fsf@web.de> <87y31isrhg.fsf@web.de> Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_20125BE0-B204-4324-B64D-96FBB342007D" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:50669) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhi14-0007nu-Ie for guix-devel@gnu.org; Sun, 30 Jun 2019 18:09:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hhi13-0006fa-As for guix-devel@gnu.org; Sun, 30 Jun 2019 18:09:46 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:43262) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hhi13-0006eg-18 for guix-devel@gnu.org; Sun, 30 Jun 2019 18:09:45 -0400 Received: by mail-pf1-x429.google.com with SMTP id i189so5523580pfg.10 for ; Sun, 30 Jun 2019 15:09:44 -0700 (PDT) In-Reply-To: <87y31isrhg.fsf@web.de> 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: Arne Babenhauserheide Cc: Guix-devel --Apple-Mail=_20125BE0-B204-4324-B64D-96FBB342007D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hey Arne, > On Jun 30, 2019, at 2:20 PM, Arne Babenhauserheide = wrote: >=20 > I=E2=80=99ve been working at getting a current Firefox packaged, but > got stuck now. If you=E2=80=99re interested I could send you all the = rust > package definitions I created for that =E2=80=94 maybe you=E2=80=99ll = spot the mistake > right-away. Thanks for your efforts! The rust integration into guix is still pretty = rough around the edges, so feel free to ask if you get stuck! > Or, better, I=E2=80=99ll avoid the round-trip and just add the = packages to the > end of this email. I skimmed some of the package definitions and overall things look good (no warnings from missing variables, etc)! What is the specific issue you are hitting? I tried building some of the crates and most of the errors I saw were = something like =E2=80=9Cfailed to select a version for the requirement `foo =3D = ^0.6 candidate versions found which didn=E2=80=99t match: 0.8.5=E2=80=9D. Please note that the crate importer always picks the latest version = available on crates.io but existing crates may depend on an = earlier version. In this case you=E2=80=99ll need to manually pull in the right version and update the = package definition of the consumer (ideally we can update the importer to be smart about = these kinds of imports, but this hasn=E2=80=99t been done yet!). Hope this helps, =E2=80=94Ivan= --Apple-Mail=_20125BE0-B204-4324-B64D-96FBB342007D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hey = Arne,

On Jun 30, 2019, at 2:20 PM, Arne = Babenhauserheide <arne_bab@web.de> wrote:

I=E2=80=99ve been working at getting a current = Firefox packaged, but
got stuck now. If you=E2=80=99re = interested I could send you all the rust
package = definitions I created for that =E2=80=94 maybe you=E2=80=99ll spot the = mistake
right-away.

Thanks for = your efforts! The rust integration into guix is still pretty rough = around
the edges, so feel free to ask if you get stuck!

Or, better, I=E2=80=99ll = avoid the round-trip and just add the packages to the
end = of this email.

I skimmed some of the package definitions and = overall things look good
(no warnings from missing variables, = etc)!

What is the specific issue you = are hitting?

I tried building some = of the crates and most of the errors I saw were something
like =E2=80=9Cfailed to select a version for the requirement = `foo =3D ^0.6
candidate versions found which = didn=E2=80=99t match: 0.8.5=E2=80=9D.

Please note that the crate importer = always picks the latest version available
on crates.io but existing = crates may depend on an earlier version. In this case
you=E2=80=99ll need to manually pull in the right version and = update the package definition
of the consumer = (ideally we can update the importer to be smart about these = kinds
of imports, but this hasn=E2=80=99t been done = yet!).

Hope = this helps,
=E2=80=94Ivan
= --Apple-Mail=_20125BE0-B204-4324-B64D-96FBB342007D--