Commit Graph

135 Commits

Author SHA1 Message Date
Jörg Thalheim
14a119e198 rustc: disable test on i686
They run out of memory and lead to failing tests.

fixes #39110
2018-04-21 18:52:39 +01:00
Jörg Thalheim
dee60d8e2c rustc: disable tests for aarch64
upstream is doing the same
2018-04-16 12:28:04 +01:00
Corey O'Connor
a2eacaaf3b rustc: correct propagation of NIX_BUILD_CORES 2018-04-12 13:17:23 -07:00
Piotr Bogdan
f09a0a8e43 rust: drop obsolete patch (now included in upstream sources) 2018-04-11 14:11:16 +01:00
Robert Schütz
80fc5f2a24 Merge branch 'master' into staging 2018-04-10 09:13:36 +02:00
Tuomas Tynkkynen
1abd235963 rustc: Disable failing test on aarch64
https://hydra.nixos.org/build/72562211/nixlog/1
https://github.com/rust-lang/rust/issues/49807
2018-04-09 22:15:56 +03:00
Frederik Rietdijk
0aa59a08d6 Merge master into staging 2018-04-09 15:12:32 +02:00
Bastian Köcher
0c181bb290 rustc: 1.24.0 -> 1.25.0 2018-04-06 17:05:40 +02:00
Matthew Justin Bauer
75616ceb49
Merge pull request #37840 from matthewbauer/unixtools
Cross-platform "unixtools"
2018-03-27 18:43:03 -05:00
Matthew Bauer
ef428ab202 treewide: cleanup procps uses 2018-03-27 18:17:37 -05:00
Shea Levy
3a143dcad2
rustc: 1.24.0 -> 1.24.1 and glibc-2.27 patch. 2018-03-17 21:58:15 -04:00
Jörg Thalheim
a7ab32ba98 cargo: unbreak aarch64 build 2018-02-22 11:46:30 +00:00
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
Hamish Mackenzie
ca74ad35f4
rust: fix disabling of fragile test
Tests in the run-make directory are all in subdirectories
2018-02-12 12:10:29 +13:00
Tuomas Tynkkynen
58ef5957e2 rust binary build: call patchShebangs on install.sh
It failed on aarch64 otherwise. The #!/bin/sh inside/outside the sandbox
probably matters but I don't investigate more for now.
2018-02-03 13:57:57 +02:00
Tuomas Tynkkynen
3effd5bb05 cargo: Should be supported on all Linux platforms now 2018-02-03 13:51:03 +02:00
Daiderd Jordan
e39f211575
Merge pull request #34244 from LnL7/rust-skip-test
rust: disable another fragile test
2018-01-27 18:26:03 +01:00
Andrew Childs
7857399288 rustc: Fix corrupted .rlib files caused by stripping on Darwin 2018-01-26 09:41:24 +09:00
Daiderd Jordan
1dd284ceb5
rust: disable another fragile test 2018-01-24 23:06:10 +01:00
Tuomas Tynkkynen
2e56ba6fbd Merge remote-tracking branch 'upstream/master' into staging 2018-01-16 22:49:20 +02:00
Tuomas Tynkkynen
222f905fd9 rustc: Supports ARMv7 2018-01-16 14:17:40 +02:00
Tuomas Tynkkynen
6ed0fe7e45 Merge remote-tracking branch 'upstream/master' into staging
Conflicts:
	pkgs/build-support/fetchbower/default.nix
	pkgs/build-support/fetchdarcs/default.nix
	pkgs/build-support/fetchgx/default.nix
	pkgs/development/python-modules/botocore/default.nix
	pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix
	pkgs/tools/admin/awscli/default.nix
2018-01-14 21:18:27 +02: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
Daiderd Jordan
b195d8ab07 rustc: disable failing tests on darwin 2018-01-09 03:37:53 +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
Daiderd Jordan
5a02143c20
Merge pull request #33010 from LnL7/cacert-hook
cacert: add hook that sets SSL_CERT_FILE
2018-01-07 09:55:15 +01:00
Samuel Dionne-Riel
7b97c8c0c8 treewide: homepage+src updates (found by repology, #33263) 2018-01-05 20:42:46 +01:00
Daiderd Jordan
fdaab47d58 rust: fix sandbox build on darwin 2018-01-05 19:06:08 +01:00
Daiderd Jordan
091c2b9f04
cacert: cleanup exporting SSL_CERT_FILE 2017-12-27 21:36:32 +01:00
Tuomas Tynkkynen
491e5d8649 rustc: Support aarch64 2017-12-02 14:46:33 +02:00
Daiderd Jordan
36818207e9 Merge branch 'master' into staging 2017-11-17 22:45:34 +01:00
Daiderd Jordan
399a22e984
Merge pull request #31175 from yrashk/rust-1.21
rust: 1.20.0 -> 1.21.0
2017-11-17 22:31:49 +01:00
Daiderd Jordan
ccf7310e2d
Merge pull request #31125 from LnL7/darwin-rust-bootstrap
rust-bootstrap: cleanup darwin expression
2017-11-17 22:31:32 +01:00
Orivej Desh
1161741351 Merge branch 'master' into staging
* master: (28 commits)
  go_1_9: skip flaky TestWaitGroupMisuse2
  erlangR18: fix patch hashes with fetchpatch
  xml2: replace dead links
  nixos/pam: fix docs about path to u2f_keys file
  cinelerra: add a note about parallel building
  msmtp: install docs and examples (#31769)
  kernel: Fix out-of-tree modules on aarch64
  nixos/tests/acme: update terms of service to fix test
  gixy: init at 0.1.8
  pythonPackages.ConfigArgParse: 0.9.3 -> 0.12.0, refactor, move to python-modules
  mono: init at 4.8
  wal-g: fix license so not to break evaluation
  wal-g: init at 0.1.2
  maintainers: add backuitist
  nixos/prometheus: Correct documentation for external_labels
  spidermonkey: replace broken links
  vagrant: removed custom rake gem
  vagrant: 2.0.0 -> 2.0.1
  nixos/prometheus: add external_labels option
  nixos/prometheus: add scrape_configs.honor_labels
  ...
2017-11-17 18:06:22 +00:00
Joerg Thalheim
79aee3b57d rustcSrc: remove unrelated files
This package is used to provide semantic completion in tools like racer
and is equivalent to rust-src in rustup. This commit gets rid of a
number of files not required for completion.
2017-11-15 21:51:29 +00:00
Daiderd Jordan
8a43659e15 rustc: fix sandbox build on darwin 2017-11-14 21:51:40 -05:00
John Ericson
4d4f94cde4 treewide: Depend on targetPackages.stdenv.cc.bintools instead of binutils directly
One should do this when needed executables at run time. It is more
honest and cross-friendly than refering to binutils directly, if one
neeeds the default binary tools for the target platform, rather than
binutils in particular.
2017-11-05 17:10:53 -05:00
Daiderd Jordan
cf9e6f3a18
cargo: fix darwin build 2017-11-05 11:33:42 +01:00
Yurii Rashkovskii
2805444f96 rust: 1.20.0 -> 1.21.0 2017-11-03 13:29:20 +07:00
Daiderd Jordan
c72b22c420
rust-bootstrap: cleanup darwin expressions 2017-11-01 15:51:40 +01:00
Vladimír Čunát
fe83d91157
rustc: disable a test failing on Hydra repeatedly
The problem doesn't happen for me locally, but on Hydra
we tend to experience more flakiness in networking tests.
2017-10-31 22:05:40 +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
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