unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jelle Licht <jlicht@fsfe.org>
To: Ivan Petkov <ivanppetkov@gmail.com>,
	Arne Babenhauserheide <arne_bab@web.de>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: guix import crate wraps #:cargo-inputs twice
Date: Tue, 02 Jul 2019 10:05:21 +0200	[thread overview]
Message-ID: <87v9wk275q.fsf@jlicht.xyz> (raw)
In-Reply-To: <DC75272E-7553-4ED9-9CDF-1D8E1B09E794@gmail.com>

Ivan Petkov <ivanppetkov@gmail.com> writes:

> [...]
> I tried building some of the crates and most of the errors I saw were something
> like “failed to select a version for the requirement `foo = ^0.6
> candidate versions found which didn’t match: 0.8.5”.
>
> Please note that the crate importer always picks the latest version available
> on crates.io <http://crates.io/> but existing crates may depend on an earlier version. In this case
> you’ll 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’t been done yet!).

Shameless plug; I have some guile code lying around for dealing
with exactly these problems; `guile-semver'[1] might give you a start
for handling these cases.
>
> Hope this helps,
> —Ivan

[1]: https://notabug.org/jlicht/guile-semver

  reply	other threads:[~2019-07-02  8:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-21 21:53 guix import crate wraps #:cargo-inputs twice Arne Babenhauserheide
2019-06-30 16:17 ` Ivan Petkov
2019-06-30 21:20   ` Arne Babenhauserheide
2019-06-30 22:09     ` Ivan Petkov
2019-07-02  8:05       ` Jelle Licht [this message]
2019-07-03 16:08         ` Ivan Petkov
2019-07-03 20:45           ` Pjotr Prins
2019-07-01  8:39     ` swedebugia
2019-07-01 19:57       ` Ricardo Wurmus
2019-08-19 12:13     ` Pjotr Prins

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=87v9wk275q.fsf@jlicht.xyz \
    --to=jlicht@fsfe.org \
    --cc=arne_bab@web.de \
    --cc=guix-devel@gnu.org \
    --cc=ivanppetkov@gmail.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).