Re: Network error when cargo-build-system fetches dependency from external repository specified in Cargo.toml

2024-01-31 Thread Ignas Lapėnas
Hi Airi, All rust builds are isolated from the network. In order to build a package, usually you must provide packages from guix crates-io.scm Using guix edit and a rust package would also open a current version of guix for example `guix edit

Re: Network error when cargo-build-system fetches dependency from external repository specified in Cargo.toml

2024-01-30 Thread Ian Eure
Hi Airi, Airi via writes: Hello, I am trying to package a program using the cargo-build-system. During the build phase, it tries to fetch a dependency specified in the Cargo.toml file, but fails with a network issue. But when built outside of Guix with a hand-typed "cargo build --release",

Network error when cargo-build-system fetches dependency from external repository specified in Cargo.toml

2024-01-30 Thread Airi via
Hello, I am trying to package a program using the cargo-build-system. During the build phase, it tries to fetch a dependency specified in the Cargo.toml file, but fails with a network issue. But when built outside of Guix with a hand-typed "cargo build --release", it builds without error. It's