Commit graph

41 commits

Author SHA1 Message Date
Vladimír Čunát
1d15dadbec
Merge branch 'master' into staging
Larger rebuilds from master.
2018-02-20 20:33:40 +01:00
Vladimír Čunát
fbe38c7c44
rustc: build with gcc6 on i686
Probably due to the bundled LLVM, so the same error.
2018-02-20 20:31:23 +01:00
Jörg Thalheim
f61e8d98ff
rust: 1.22.1 -> 1.24.0 2018-02-20 09:59:26 +00:00
Robin Gloster
7c5430c27c
Revert "rust: store the cargo-vendor config"
This reverts commit 0af2c5891b.

See 0af2c5891b (commitcomment-26737983)
This breaks the cargoSha256 hashes.
2018-01-09 15:03:03 +01:00
zimbatm
0af2c5891b rust: store the cargo-vendor config
cargo-vendor generates almost the right cargo config. Store it with the
vendored files and patch it on use.

This allows to re-use the generated config when using git dependencies.
2018-01-09 03:37:53 +01:00
zimbatm
c5456dbfec cargo: 0.22.0 -> 0.23.0 2018-01-09 03:37:53 +01:00
zimbatm
8559dd0474 rustc: 1.21.0 -> 1.22.1
* removed --enable-clang as it has disappeared
* removed old fixes that have been integrated in upstream
2018-01-09 03:37:53 +01:00
Tuomas Tynkkynen
491e5d8649 rustc: Support aarch64 2017-12-02 14:46:33 +02:00
Yurii Rashkovskii
2805444f96 rust: 1.20.0 -> 1.21.0 2017-11-03 13:29:20 +07:00
zimbatm
6bbce42fe7 cargo: 0.21.1 -> 0.22.0 2017-10-23 00:30:47 +01: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
Anders Papitto
1e0866e064 rust: 1.15.0 -> 1.17.0
Also updates beta, nightly, nightlyBin, and bootstrap compilers.
Also updates the registry.
Also consolidates logic between bootstrap and nightlyBin compilers.
Also contains some miscellaneous cleanups.
Also patches firefox to build with the newer cargo
2017-06-10 15:15:50 -07:00
Daiderd Jordan
01d8d1b062
rustc: use llvm_39 2017-03-28 22:10:05 +02:00
Ricardo M. Correia
8d1bd281cc rustc: 1.15 -> 1.15.1 2017-02-17 16:44:01 +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
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
Tadas Barzdzius
0f51eb58ee rustc, cargo: 1.12.1 -> 1.13.0, 0.13.0 -> 0.14.0 2016-11-16 13:25:19 +02:00
Tim Steinbach
96cc219524
rust: 1.12.0 -> 1.12.1 2016-10-22 13:49:23 -04:00
Tim Steinbach
b116f9b0cd
rust: 1.11.0 -> 1.12.0, cargo: 0.12.0 -> 0.13.0 2016-10-10 21:59:26 -04:00
Moritz Ulrich
70f55f9930 rust{Beta,Unstable}: Remove outdated comment. 2016-08-30 12:05:45 +02: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
57a690fbe4 cargo: Force usage of pkgs.cacert. 2016-08-10 21:16:48 +02:00
John Ericson
bed2a14afa makeRustPlatform: Remove self argument 2016-07-15 10:13:21 +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
John Ericson
641ccec337 rust: Refer to 0.11.nix directly in all-packages
rather than use default.nix indirection
2014-08-01 04:28:54 +02:00
John Ericson
399f8b48f9 rust: Prepare for more versions part 2:
- Default is now an alias for 0.11
2014-07-30 07:39:06 +02:00
John Ericson
210452979a rust: Prepare for more versions part 1:
- Factor out some things that REALLY shouldn't change between versions
2014-07-30 07:39:06 +02:00
Paul Colomiets
febf46bf5c rust: Update to 0.11 2014-07-03 00:52:33 +03:00
Charles Strahan
6d5db3e93b rust: update to 0.10 release 2014-05-12 13:37:38 -04:00
Georges Dubus
f8afc745bf rust: fixed i686 build 2014-01-22 19:29:20 +01:00
Georges Dubus
49dd0867a7 rust: Fixed build 2014-01-22 16:36:05 +01:00
Georges Dubus
6eed023894 rust: patched the source to hardcode gcc path
to avoid using a wrapper.
2014-01-22 13:33:04 +01:00
Georges Dubus
35aa131371 rust: fixed build for i686 and maybe darwin 2014-01-22 13:33:04 +01:00
Shea Levy
0e74c9f4dc Fix tarball
Signed-off-by: Shea Levy <shea@shealevy.com>
2014-01-19 13:38:37 -05:00
Shea Levy
cb24530135 Fix whitespace
Signed-off-by: Shea Levy <shea@shealevy.com>
2014-01-19 12:40:31 -05:00
Georges Dubus
2a0f1cd6f1 rust: Add 2014-01-19 17:30:36 +01:00