all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Gabor Gero <gaga.gero@zohomail.eu>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Cargo attemps to download packages already specified as cargo-inputs
Date: Mon, 23 Dec 2024 16:55:45 +0200	[thread overview]
Message-ID: <Z2l58RDryAV5Wy9o@pbp> (raw)
In-Reply-To: <193ee0bfd98.e3084afb619979.4927023688777406493@zohomail.eu>

[-- Attachment #1: Type: text/plain, Size: 1451 bytes --]

On Sun, Dec 22, 2024 at 12:06:23PM +0100, Gabor Gero via wrote:
> Hello,
> 
<snip> 
> 
> The problem is that if I try to build it via guix build, while all the Rust dependencies get pulled in by guix perfectly fine, once it reaches the build stage, cargo prints the following warning:
> "warning: `/tmp/guix-build-pointersearcher-x-0.7.4-dylib.drv-0/source/.cargo/config` is deprecated in favor of `config.toml`
> note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`"
> and attempts to download argh and rayon. What am I doing wrong?

We install the generated config.toml in .cargo/config instead of in
.cargo/config.toml because in the past any file in .cargo/config would
override any settings in the config.toml file.  Sometimes upstream ships
the sources with their settings there and it breaks builds inside Guix.
You can ignore the warning.  I figure I'll move the file to config.toml
when the warning becomes an error.

So you're not doing anything wrong. I should investigate and see if it's
still the case that .cargo/config takes precedence over
.cargo/config.toml or see if there's some flag or something we can be
passing to force reading our config specifically.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2024-12-23 14:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-22 11:06 Cargo attemps to download packages already specified as cargo-inputs Gabor Gero via
2024-12-23 14:55 ` Efraim Flashner [this message]
2024-12-23 15:01 ` Efraim Flashner
2024-12-24 20:44   ` Gabor Gero via

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=Z2l58RDryAV5Wy9o@pbp \
    --to=efraim@flashner.co.il \
    --cc=gaga.gero@zohomail.eu \
    --cc=help-guix@gnu.org \
    /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.