unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "jgart" <jgart@dismail.de>
To: "Efraim Flashner" <efraim@flashner.co.il>
Cc: guix-devel@gnu.org
Subject: Re: Rust <3 Guix
Date: Mon, 25 Dec 2023 07:25:26 +0000	[thread overview]
Message-ID: <a4c85946a0aea313bf36f452cb42ea9e909bc709@dismail.de> (raw)
In-Reply-To: <ZYkilKBHzOdiWWio@3900XT>

> Do you need both nss-certs and curl?

Hi Efraim, yes, I need both, oddly enough. If I remove one of them the build fails with the error message in the README that I provided.

> I saw in a later commit you said it's working.

I'm able to build main.rs with the guix installed tools but I'm not able to use guix-installed crate dependencies.

I ended up installing the crates with cargo by fetching them from crates.io with the following invocations:

cargo fetch
cargo update
cargo build

Not sure at the moment how to get cargo to defer to guix for managing the crates when doing development... WDYT
 
> Also, rust-analyzer is basically a convenience package around the
> rust-analyzer binary from rust:tools since we don't have a way to
> deprecate packages and point them to alternate outputs.

I was wondering why it existed as I looked inside the bin of the output of rust:tools and also saw it there. 

Thanks for clarifying that. I'll remove rust-analyzer from my manifest.

thanks for the help,

jgart


  reply	other threads:[~2023-12-25  7:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-24 20:35 Rust <3 Guix jgart
2023-12-25  6:35 ` Efraim Flashner
2023-12-25  7:25   ` jgart [this message]
2023-12-28  7:54     ` Efraim Flashner

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=a4c85946a0aea313bf36f452cb42ea9e909bc709@dismail.de \
    --to=jgart@dismail.de \
    --cc=efraim@flashner.co.il \
    --cc=guix-devel@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 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).