On Mon, Dec 25, 2023 at 07:25:26AM +0000, jgart wrote: > > 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 It's not pretty currently using guix's crates. The first part, getting the necessary crates, involves manually adding them (with their dependencies!) to your environment. The second part involves adjusting your config.toml to include the following: [source.crates-io] local-registry = '/gnu/store/3nfgfhxlciblr360jyrgxl275sf78a6f-profile/share/cargo/registry' HOWEVER, instead of /gnu/store/...-profile you need to adjust the path to the value of your GUIX_ENVIRONMENT, and there's no way that I've figured out to use $GUIX_ENVIRONMENT in a toml file. Actually, it looks like I have the cargo registry patches sitting unapplied on my machine, so I'm not even sure if it'll work the way I wrote above. I'll see about getting them into a state I'm happy with for the rust-team branch. -- Efraim Flashner רנשלפ םירפא GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted