Re: Current state of cargo-build-system

2019-01-28 Thread Ivan Petkov
> On Jan 28, 2019, at 12:44 AM, Ricardo Wurmus wrote: > > Outputs are only generated when building the package. > > If all you need is the source code, however, you can use (package-source > the-package) and use the resulting value as an input to another package. Thanks Ricardo, I think this

Re: Current state of cargo-build-system

2019-01-28 Thread Ricardo Wurmus
Ivan Petkov writes: > However, it appears that guix still insists on building the entire package > even > if we only depend on the "src" output. Is it possible to lazily build packages > based on the type of dependency? Is this something the build system can > finagle, > or is this an inheren

Re: Current state of cargo-build-system

2019-01-27 Thread Ivan Petkov
Answering my own question after digging through the guix source, maybe someone can correct me if I’ve gotten things wrong! > On Jan 25, 2019, at 3:57 PM, Ivan Petkov wrote: > > However, it appears that guix still insists on building the entire package > even > if we only depend on the "src" out

Re: Current state of cargo-build-system

2019-01-25 Thread Ivan Petkov
Thank you all for the responses! > Cycles. Also, often Cargo.lock specifies exact versions of dependencies (in > programs, at least) Yes, this is pretty much the main issue I immediately hit when doing a naive crate import, more on this further down. > First, we'd have to find out what kind of

Re: Current state of cargo-build-system

2019-01-23 Thread Danny Milosavljevic
Hi Ivan, On Sun, 20 Jan 2019 16:11:58 -0800 Ivan Petkov wrote: > Are there any philosophical or technical blockers that preclude pulling in > packages from crates.io, Cycles. Also, often Cargo.lock specifies exact versions of dependencies (in programs, at least). >or is it just a matter of c

Re: Current state of cargo-build-system

2019-01-23 Thread ng0
Ludovic Courts transcribed 1.9K bytes: > Hello Ivan, > > Ivan Petkov skribis: > > > I'm new to both Guix and Guile/Scheme and decided to get my feet wet by > > attempting to package a non-trivial Rust crate into Guix. > > Cool, thanks for getting in touch! > > > This seems like something other

Re: Current state of cargo-build-system

2019-01-23 Thread Ludovic Courtès
Hello Ivan, Ivan Petkov skribis: > I'm new to both Guix and Guile/Scheme and decided to get my feet wet by > attempting to package a non-trivial Rust crate into Guix. Cool, thanks for getting in touch! > This seems like something others have tried before me with varying degrees of > success (I