Re: [PATCH 08/12] build-system: Add cargo build system.

2016-09-30 Thread Ludovic Courtès
David Craven skribis: >>> +(define* (configure #:rest empty) >>> + "Replace Cargo.toml [dependencies] section with guix inputs." >>> + ;;TODO >> >> So what would this do? Do we end up using bundled dependencies if we >> don’t do that? > > If we don't do that cargo tries to download them from c

Re: [PATCH 08/12] build-system: Add cargo build system.

2016-09-26 Thread David Craven
>> +(define* (configure #:rest empty) >> + "Replace Cargo.toml [dependencies] section with guix inputs." >> + ;;TODO > > So what would this do? Do we end up using bundled dependencies if we > don’t do that? If we don't do that cargo tries to download them from crates.io, and since it's running

Re: [PATCH 08/12] build-system: Add cargo build system.

2016-09-26 Thread Ludovic Courtès
David Craven skribis: > * guix/build-system/cargo.scm (default-cargo, default-rustc, > %cargo-build-system-modules, cargo-build, lower, cargo-build-system): > New variables. > * guix/build/cargo-build-system.scm (configure, build, check, install, > %standard-phases, cargo-build): New variab

[PATCH 08/12] build-system: Add cargo build system.

2016-09-22 Thread David Craven
* guix/build-system/cargo.scm (default-cargo, default-rustc, %cargo-build-system-modules, cargo-build, lower, cargo-build-system): New variables. * guix/build/cargo-build-system.scm (configure, build, check, install, %standard-phases, cargo-build): New variables. --- guix/build-system/cargo.