Re: guix import crate wraps #:cargo-inputs twice

2019-08-19 Thread Pjotr Prins
Did you see what Nix is doing? I don't know whether that will work for us: https://www.hadean.com/blog/managing-rust-dependencies-with-nix-part-ii

Re: guix import crate wraps #:cargo-inputs twice

2019-07-03 Thread Pjotr Prins
Dear all, We also have a Rust tool we want to package in Guix, but Rust (like Go and JS) appears to encourage an insane list of dependencies: https://github.com/chfi/rust-qtlreaper/blob/master/Cargo.lock Look at this list. This is for a very simple tool that does some input, output and a computa

Re: guix import crate wraps #:cargo-inputs twice

2019-07-03 Thread Ivan Petkov
Hi Jelle, > On Jul 2, 2019, at 1:05 AM, Jelle Licht wrote: > > Shameless plug; I have some guile code lying around for dealing > with exactly these problems; `guile-semver'[1] might give you a start > for handling these cases. > > [1]: https://notabug.org/jlicht/guile-semver >

Re: guix import crate wraps #:cargo-inputs twice

2019-07-02 Thread Jelle Licht
Ivan Petkov writes: > [...] > I tried building some of the crates and most of the errors I saw were > something > like “failed to select a version for the requirement `foo = ^0.6 > candidate versions found which didn’t match: 0.8.5”. > > Please note that the crate importer always picks the lates

Re: guix import crate wraps #:cargo-inputs twice

2019-07-01 Thread Ricardo Wurmus
swedebugia writes: > Unfortunately guix does not seem to handle duplicates well and chokes > with this unrelated it seems error when I add your packages to my list Guix doesn’t “handle” duplicates at all. If you have a top-level definition of a name early in a file and then again a different

Re: guix import crate wraps #:cargo-inputs twice

2019-07-01 Thread swedebugia
Hi arne On 2019-06-30 23:20, Arne Babenhauserheide wrote: Hi Ivan, When using guix import crate flamer, it generates a pattern like Thanks for the report, I’ve fixed this in 022288ba53bd44c9311c6cffef5e8224a2e74598! Thank you! I’ve been working at getting a current Firefox packaged, but g

Re: guix import crate wraps #:cargo-inputs twice

2019-06-30 Thread Ivan Petkov
Hey Arne, > On Jun 30, 2019, at 2:20 PM, Arne Babenhauserheide wrote: > > I’ve been working at getting a current Firefox packaged, but > got stuck now. If you’re interested I could send you all the rust > package definitions I created for that — maybe you’ll spot the mistake > right-away. Thank

Re: guix import crate wraps #:cargo-inputs twice

2019-06-30 Thread Ivan Petkov
Hi Arne, > On Jun 21, 2019, at 2:53 PM, Arne Babenhauserheide wrote: > > Hi, > > When using guix import crate flamer, it generates a pattern like > > (arguments >`((#:cargo-inputs > (("rust-flame" ,rust-flame) >("rust-quote" ,rust-quote) >("rust-syn" ,rust-syn) >

guix import crate wraps #:cargo-inputs twice

2019-06-21 Thread Arne Babenhauserheide
Hi, When using guix import crate flamer, it generates a pattern like (arguments `((#:cargo-inputs (("rust-flame" ,rust-flame) ("rust-quote" ,rust-quote) ("rust-syn" ,rust-syn) the correct pattern would however be (arguments `(#:cargo-inputs (("rust