all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Rust Packaging without crates.io
@ 2022-08-24  1:38 Jonathan Scoresby
  2022-08-24 16:06 ` (
  0 siblings, 1 reply; 10+ messages in thread
From: Jonathan Scoresby @ 2022-08-24  1:38 UTC (permalink / raw)
  To: help-guix

I am trying to build a package definition for a rust project that is not on crates.io (package A). It has a dependency for another rust project that is also not hosted on crates.io (package B). How do I get guix to reference the guix package B instead of trying to fetch it from the source repository?

I'm new to guix but I took a look into the build system code, and it seems like guix just changes the crates.io source to a local repository, but this doesn't work with packages that are hosted outside crates.io.

Would it be best to modify the cargo.toml to not reference a git repo? Or is there a better way? Assuming I do that, how do I ensure that package B still ends up in the guix-vendor directory during the build?

Thanks

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-08-24 17:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-24  1:38 Rust Packaging without crates.io Jonathan Scoresby
2022-08-24 16:06 ` (
2022-08-24 16:23   ` Jonathan Scoresby
2022-08-24 16:29     ` (
2022-08-24 16:52       ` Jonathan Scoresby
2022-08-24 16:56         ` (
2022-08-24 17:05           ` Jonathan Scoresby
2022-08-24 17:08             ` (
2022-08-24 17:11               ` Jonathan Scoresby
2022-08-24 17:12                 ` (

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.