Commit graph

12 commits

Author SHA1 Message Date
Tuomas Tynkkynen
491e5d8649 rustc: Support aarch64 2017-12-02 14:46:33 +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
1d6eaac764 rust: remove beta and nightly releases
nixpkgs is for stable software. If you want beta and nightly, use the
nixpkgs-mozilla overlay.
2017-10-23 00:30:46 +01:00
Tadas Barzdzius
c4bb0c7bb4 rustc, cargo: 1.14.0 -> 1.15.0, 0.15.0 -> 0.16.0 2017-02-03 15:53:09 +02:00
Moritz Ulrich
a42044c6b5
rustc: Disable another failing tcp test on Darwin.
Fixes #21936
2017-01-17 10:59:57 +01:00
Moritz Ulrich
7435fefd26
rustc: Disable fragile tcp tests on Darwin
This is an alternative implementation of
https://github.com/NixOS/nixpkgs/pull/21741/files
2017-01-08 16:55:36 +01:00
Tadas Barzdzius
7fa4b0f2c9 rustc: 1.13.0 -> 1.14.0 2016-12-29 09:55:38 +02:00
joachim schiele
8806344618
rust: Updates & rename rustUnstable to rustNighly. 2016-11-29 17:09:01 +01:00
Moritz Ulrich
8cd3e1e2ba rustc: 1.10.0 -> 1.11.0 and beta/unstable updates.
Give cargo the right name.

Fix versioning.

rustBeta: -> 2016-08-17

Looks like rustUnstable.rustc needs *exactly* this version.
2016-08-27 08:24:16 +02:00
Moritz Ulrich
899d026426 rustUnstable.rustc: Fix tests by disabling lowering thread-count. 2016-08-10 21:16:37 +02:00
Moritz Ulrich
8c45378cde rustc: 1.9.0 -> 1.10.0, cargo: 0.10.0 -> 0.11.0 2016-07-13 20:08:05 +02:00
David Craven
54f80775cb rust: Refactoring of rust and cargo packages 2016-06-15 12:47:13 +02:00