Commit Graph

19 Commits

Author SHA1 Message Date
Tuomas Tynkkynen
7e0561370b rust: Set dontUpdateAutotoolsGnuConfigScripts everywhere
It's needed on ARM nowadays as well, so just put it everywhere.
2018-08-14 10:40:47 +03:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Jörg Thalheim
a7ab32ba98 cargo: unbreak aarch64 build 2018-02-22 11:46:30 +00:00
Jörg Thalheim
f61e8d98ff
rust: 1.22.1 -> 1.24.0 2018-02-20 09:59:26 +00:00
Tuomas Tynkkynen
3effd5bb05 cargo: Should be supported on all Linux platforms now 2018-02-03 13:51:03 +02:00
Daiderd Jordan
091c2b9f04
cacert: cleanup exporting SSL_CERT_FILE 2017-12-27 21:36:32 +01:00
Daiderd Jordan
cf9e6f3a18
cargo: fix darwin build 2017-11-05 11:33:42 +01:00
Robin Gloster
bed5bb1f5e
fix eval
cc @zimbatm

(https://nix-cache.s3.amazonaws.com/log/iyn9cwk0kymi4mzva0dzpqwnzm3cg4a4-nixpkgs-tarball-18.03pre118395.891c3721ed.drv)
2017-10-23 15:12:39 +02:00
Daiderd Jordan
f1f7296885
cargo: fix darwin build 2017-10-23 10:24:17 +02:00
Kevin Cox
5f8cf0048e rust: update cargo builder to fetch registry dynamically
The biggest benefit is that we no longer have to update the registry
package. This means that just about any cargo package can be built by
nix. No longer does `cargo update` need to be feared because it will
update to packages newer then what is available in nixpkgs.

Instead of fetching the cargo registry this bundles all the source code
into a "vendor/" folder.

This also uses the new --frozen and --locked flags which is nice.

Currently cargo-vendor only provides binaries for Linux and
macOS 64-bit. This can be solved by building it for the other
architectures and uploading it somewhere (like the NixOS cache).

This also has the downside that it requires a change to everyone's deps
hash. And if the old one is used because it was cached it will fail to
build as it will attempt to use the old version. For this reason the
attribute has been renamed to `cargoSha256`.

Authors:
* Kevin Cox <kevincox@kevincox.ca>
* Jörg Thalheim <Mic92@users.noreply.github.com>
* zimbatm <zimbatm@zimbatm.com>
2017-10-23 00:30:47 +01:00
zimbatm
d170c2cead cargo: use fetchFromGitHub 2017-10-23 00:30:46 +01:00
zimbatm
7bd191df6a rust: 1.17.0 -> 1.20.0
simplify the boostrap hashes a bit

build with bundled llvm:

the rust project has forked the llvm compiler to solve some
issues.
With pkgs.llvm the test suite fails.

See https://github.com/rust-lang/rust/pull/43026

And PR #30088
2017-10-23 00:30:46 +01:00
John Ericson
531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
Matthew Bauer
f2141a96e5 cargo: use https://crates.io for homepage 2017-08-17 15:04:39 -07:00
Jörg Thalheim
af416aae81
cargo: remove unnecessary rm
Since cargo build became a rust package, postInstall hook was no longer
called. When the hook was reenabled in
cdd11368426380db545cad84c76e350e5e201adc, it revealed that scripts
leftover from the component based installer are no longer present.
2017-04-17 00:29:44 +02:00
Reno Reckling
8e2a4e0948 cargo: do not make install in cargo (#21799)
cargo is already a cargo package, so why not build it with cargo
and safe us the special cases
2017-01-11 12:33:53 +01:00
Tadas Barzdzius
31ec0795f6 cargo: 0.14 -> 0.15 2016-12-29 09:56:19 +02:00
Moritz Ulrich
57a690fbe4 cargo: Force usage of pkgs.cacert. 2016-08-10 21:16:48 +02:00
David Craven
54f80775cb rust: Refactoring of rust and cargo packages 2016-06-15 12:47:13 +02:00