Benjamin Hipple
05343f6ff1
rust: remove legacy cargo fetcher
...
We have now migrated every single Rust package in NixPkgs! This deletes the
legacy fetcher, which is now unused.
Resolves #79975
2020-03-18 20:12:32 -07:00
Alyssa Ross
dcb43197ea
rust_1_38_0: drop
2020-03-14 16:55:06 +00:00
Alyssa Ross
7f00b33261
rust_1_38, rust_1_42: drop patch version from attr
...
I find it extremely unlikely we'll ever package two different patch
versions of the same minor Rust version. New patch versions should
generally be compatible, so we shouldn't give people the expectation
they'll be able to pin to one. And by including the patch version in
the attribute name, we'd have to change the attribute every time a
patch version was released, which would unnecessarily create diff
noise and maintenance headaches for what should be a seamless upgrade.
2020-03-13 21:24:07 +00:00
Alyssa Ross
dc3c338e29
rustc: 1.41.0 -> 1.42.0
...
The patch is included in rust master[1], but neither that, nor the
QuiltOS version we were using previously, apply to 1.42.0, so I've
included the fixed version here.
[1]: 4f15867faf
2020-03-13 19:51:52 +00:00
John Ericson
783fa4616e
rustc: Add way to override the arch and config triple for rust
...
Sometimes it is useful for it to be slightly different. Going forward we
should, however, try to make this fallback rarely needed.
2020-03-12 09:56:55 -04:00
John Ericson
83a4705f49
Merge pull request #80843 from obsidiansystems/rust-no-std
...
rust 1.41: Fix build with no_std only target
2020-02-23 00:48:45 -05:00
John Ericson
0b0e691833
rust 1.41: Fix build with no_std only target
...
See https://github.com/rust-lang/rust/pull/69381
2020-02-22 18:34:05 -05:00
Cole Helbling
2edec098de
rls: add llvm to buildInputs
...
The Hydra build [1] was failing because it was unable to link `LLVM-9`.
Additionally, quote the homepage URL for compliance with RFC 45.
[1] https://hydra.nixos.org/build/112823631/nixlog/2
2020-02-19 20:03:56 -08:00
Cole Helbling
502c0ee899
clippy: add rustc.llvm to buildInputs
...
The Hydra build [1] failed because it was unable to link to `LLVM9`; add
`llvmShared` to `passthru` in order to stay up to date with required
LLVM versions. Also quote the homepage URLs, since that's preferred.
[1] https://hydra.nixos.org/build/112989779/nixlog/1
2020-02-18 08:46:31 -08:00
Alyssa Ross
e1ed62abc2
cargo: install man pages
...
I thought about doing a seperate output for these, but they're tiny
compared to the size of the binary, so there's no point.
(cherry picked from commit 0489c1b4b2
)
2020-02-12 17:56:01 +01:00
Andreas Rammhold
5c8612d90c
cargo: use bundled libgit2
...
Cargo uses git-rs which is made to be built against the bundled libgit2
version that hasn't been part of a stable release yet. Using our libgit2
instead of the master version fails during runtime as they are not
compatible anymore.
After the next libgit2 update we can try again but it is likely that
there will also be yet another cargo release at that point in time…
2020-02-12 17:16:32 +01:00
Benjamin Hipple
2115a2037c
fetchcargo: use flat tar.gz file for vendored src instead of recursive hash dir
...
This has several advantages:
1. It takes up less space on disk in-between builds in the nix store.
2. It uses less space in the binary cache for vendor derivation packages.
3. It uses less network traffic downloading from the binary cache.
4. It plays nicely with hashed mirrors like tarballs.nixos.org, which only
substitute --flat hashes on single files (not recursive directory hashes).
5. It's consistent with how simple `fetchurl` src derivations work.
6. It provides a stronger abstraction between input src-package and output
package, e.g., it's harder to accidentally depend on the src derivation at
runtime by referencing something like `${src}/etc/index.html`. Likewise, in
the store it's harder to get confused with something that is just there as a
build-time dependency vs. a runtime dependency, since the build-time
src dependencies are tarred up.
Disadvantages are:
1. It takes slightly longer to untar at the start of a build.
As currently implemented, this attaches the compacted vendor.tar.gz feature as a
rider on `verifyCargoDeps`, since both of them are relatively newly implemented
behavior that change the `cargoSha256`.
If this PR is accepted, I will push forward the remaining rust packages with a
series of treewide PRs to update the `cargoSha256`s.
2020-02-10 10:17:29 -05:00
Bastian Köcher
60a479d91d
rustc: 1.40.0 -> 1.41.0
2020-02-09 09:20:07 +01:00
Daiderd Jordan
8df4338f51
rustPackages: make rustc-dev optional
...
This was only introduced in 1.40.0 and doesn't work on older versions.
thread 'main' panicked at 'Error: no rules matched rustc-dev.', src/bootstrap/builder.rs:231:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
failed to run: /build/rustc-1.38.0-src/build/bootstrap/debug/bootstrap dist rustc-dev
2020-01-18 10:57:13 +01:00
Symphorien Gibol
47681d7c5c
rust: include the rustc-dev component
...
This enables to compile rls and rustc
See also https://github.com/rust-lang/rust/pull/64823
2020-01-11 12:00:00 +00:00
Maximilian Bosch
823b96a52b
rustc: fix for structured attrs
2019-12-31 01:29:57 +01:00
Robin Gloster
981ae25113
treewide: NIX_*_COMPILE -> string
2019-12-31 00:07:21 +01:00
Jan Tojnar
4bbc6cc66f
Merge branch 'staging-next' into staging
2019-12-25 05:18:52 +01:00
Jan Tojnar
ca39dd3a8a
Merge branch 'master' into staging-next
2019-12-25 05:15:06 +01:00
Eelco Dolstra
e82fae1a39
rustc: 1.39 -> 1.40
2019-12-24 16:15:36 +00:00
Alyssa Ross
b9d274b89d
rustPlatform.fetchcargo: expose
2019-12-23 18:27:56 +00:00
Jörg Thalheim
d68c70f1bb
rustc: add QA documentation ( #73296 )
...
rustc: add QA documentation
2019-12-20 14:10:33 +00:00
Jan Tojnar
628ff8db61
rustc: switch to python3
2019-12-15 13:52:53 +01:00
Jan Tojnar
08c0f1200a
cargo: switch to python3
2019-12-15 13:52:40 +01:00
Ben Wolsieffer
83ac9c07e4
rust: add support for armv6l-linux and armv7l-linux
2019-11-23 19:19:31 -05:00
Jörg Thalheim
d2d1c533b0
rustc: add QA documentation
2019-11-13 12:34:42 +00:00
Luka Blaskovic
8bff104114
rustc: bump runtime LLVM to match upstream
...
```
rustc 1.38.0
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.38.0
LLVM version: 9.0
```
2019-11-12 14:50:49 +01:00
Frederik Rietdijk
73b88e17dd
Merge staging-next into staging
2019-11-11 12:09:26 +01:00
taku0
97f20c3011
rust: keep multiple version.
...
Firefox 70.0.1 and Thunderbird 68.2.2 require older version of rustc.
2019-11-08 21:12:01 +09:00
Eelco Dolstra
14ee26ccf5
rustc: 1.38.0 -> 1.39.0
2019-11-07 15:04:06 +01:00
John Ericson
acd2d19484
Merge pull request #72347 from NixOS/bash-no-undef-vars
...
treewide: `set -u` everywhere
2019-11-04 19:52:33 -05:00
John Ericson
45e5e68c53
rust: Allow IN_NIX_SHELL to be undefined
2019-11-01 14:45:59 -04:00
oxalica
24af7ef427
rust-src: shrink the size
2019-11-01 23:02:34 +08:00
Ricardo M. Correia
7ec975fa84
rustc, cargo: remove myself from maintainers
2019-10-08 19:52:47 +02:00
Jörg Thalheim
173d5a4e6e
rustc: remove test related patches/code
...
Tests have been disabled since over a year and now the
code starts to bit-rot. As it seems unlikely that they
will come back in near future, let's just remove it.
2019-09-30 10:00:33 +01:00
Eelco Dolstra
9c0968fd81
rustc: 1.37.0 -> 1.38.0
2019-09-26 16:34:48 +02:00
Eelco Dolstra
adb15c3a63
Revert "rustc: Provide compiler-rt sources"
...
This reverts commit b7a8280312
. It's no
longer needed with Rust 1.38.
2019-09-26 14:50:07 +02:00
volth
7bb6b373ab
treewide: name -> pname ( #67513 )
2019-08-31 07:41:22 -04:00
volth
08f68313a4
treewide: remove redundant rec
2019-08-28 11:07:32 +00:00
Frederik Rietdijk
5061fe0c2c
Merge staging-next into staging
2019-08-28 08:26:42 +02:00
volth
35d68ef143
treewide: remove redundant quotes
2019-08-26 21:40:19 +00:00
Vladimír Čunát
2e6bf42a22
Merge branch 'master' into staging-next
...
There ver very many conflicts, basically all due to
name -> pname+version. Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job. There might be some fallback to these
conflicts, but I believe it should be minimal.
Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Symphorien Gibol
d9d0647046
rls: tie version to rustc's
2019-08-21 11:21:01 +02:00
Bas van Dijk
06734a93e9
rustfmt: fix build on aarch64
2019-08-19 15:23:41 +02:00
Bas van Dijk
b9c4bef090
Merge pull request #66713 from basvandijk/rustfmt-from-rust-src
...
rustfmt: use the src as defined by the git submodule in rust
2019-08-19 15:14:23 +02:00
Bas van Dijk
4e5d4d5509
rustfmt: enable tests
2019-08-19 15:09:15 +02:00
Bas van Dijk
dc374218c9
rustfmt: make sure to test rustfmt instead of rustc
...
Co-Authored-By: symphorien <symphorien@users.noreply.github.com>
2019-08-19 12:54:40 +02:00
Eelco Dolstra
1f3c2bcefe
Merge pull request #66686 from edolstra/rustc-1.37.0
...
rustc: 1.36.0 -> 1.37.0
2019-08-17 16:22:42 +02:00
Frederik Rietdijk
c68f58d95c
Merge master into staging-next
2019-08-17 09:30:16 +02:00
Eelco Dolstra
b7a8280312
rustc: Provide compiler-rt sources
...
This is needed to build libprofiler_builtins now.
e59f0cc0d3 (diff-daf9539767b10f18e1517f65cdc2e0e2)
https://github.com/rust-lang-nursery/compiler-builtins/issues/295
2019-08-16 15:08:12 +02:00
Eelco Dolstra
a4fc84de44
rustc: 1.36.0 -> 1.37.0
2019-08-16 14:10:13 +02:00
Bas van Dijk
16cb2611d9
rustfmt: use the src as defined by the git submodule in rust
...
This commit makes sure rustc and rustfmt are compatible by setting
rustfmt's src to the rustfmt git submodule as defined in:
https://github.com/rust-lang/rust/tree/1.36.0/src/tools
2019-08-16 12:54:05 +02:00
Bas van Dijk
682e6fafa4
rustPackages.clippy: init at rust-1.36.0
2019-08-16 09:18:32 +02:00
Eelco Dolstra
7706f36d0d
rustc: Enable profiling support
...
This matches the upstream binary releases (see
https://github.com/rust-lang/rust/blob/beta/src/ci/docker/x86_64-gnu/Dockerfile ).
Upstream also enables sanitizer support but that adds another 39 MiB
to the package size, and who needs sanitizers in Rust anyway ;-)
2019-07-31 22:47:28 +02:00
Eelco Dolstra
57adfbd3d4
rustc: Drop RUSTC_BOOTSTRAP
...
It's no longer needed.
2019-07-31 22:47:28 +02:00
arcnmx
b53e237ef6
cargo: remove darwin hack
...
This seems to have recently resolved itself with updates
and is no longer necessary.
2019-07-29 06:50:20 +01:00
Eelco Dolstra
33723434a8
rustc: Add setup hook to set $CARGO_HOME
...
This works around 'failed to open:
/homeless-shelter/.cargo/.package-cache' with Rust 1.36 even when
we're using 'cargo --frozen'.
2019-07-07 15:18:09 +02:00
Eelco Dolstra
2c0a6e1ea0
rustc: 1.35.0 -> 1.36.0
2019-07-07 15:18:09 +02:00
Daiderd Jordan
368c415a01
rustc: don't patch precompiled binaries on darwin
...
This doesn't work anymore since 1.35.0 because the load commands end up
being too large, but this is a precompiled binary anyway so it's not
really needed or more impure to use the expected system versions.
2019-07-03 08:52:27 +02:00
Eelco Dolstra
513bd49b44
rustc: 1.34.2 -> 1.35.0
2019-07-03 08:52:27 +02:00
volth
f3282c8d1e
treewide: remove unused variables ( #63177 )
...
* treewide: remove unused variables
* making ofborg happy
2019-06-16 19:59:05 +00:00
Will Dietz
915c2de370
rustc: 1.34.0 -> 1.34.2, security
...
https://blog.rust-lang.org/2019/05/14/Rust-1.34.2.html
2019-05-19 03:56:31 -05:00
Matthew Bauer
f0b7561275
rustc: use llvm5 for bootstrapping
2019-04-26 21:55:09 -04:00
Ivan Kozik
a0c1b7be7d
rustc: 1.33.0 -> 1.34.0
2019-04-12 16:32:19 +00:00
John Ericson
716503d063
Merge branch 'staging' into rust-cross
2019-04-01 00:47:46 -04:00
Michael Eden
8391528096
rust: disable stripping to prevent bad cross rlibs
2019-03-29 11:11:55 -04:00
Michael Eden
54e9082375
rust: Don't force gcc6
2019-03-29 11:11:53 -04:00
Jörg Thalheim
912dca193a
rust: fix cross-compilation
2019-03-29 11:11:00 -04:00
Michael Eden
3c930188c8
cargo: No need to skip space around = at Nix level
2019-03-29 10:28:20 -04:00
Michael Eden
7f6de09751
rust: Fix grammar in comment
2019-03-29 10:28:20 -04:00
Luka Blaskovic
8d3e91077b
rust: 1.32.0 -> 1.33.0
2019-03-01 07:56:40 +00:00
Jörg Thalheim
6f6900495d
Merge pull request #54323 from lblasc/rust132
...
rust: 1.31.0 -> 1.32.0
2019-01-28 16:14:57 +00:00
Jörg Thalheim
b5c1deca8a
treewide: remove wkennington as maintainer
...
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
Ingolf Wagner
c5f0dbb660
rustc: mark compileprocess as timeconsuming
2019-01-24 18:30:35 +01:00
Luka Blaskovic
cc5b55f944
rust: 1.31.0 -> 1.32.0
2019-01-22 08:05:17 +00:00
Jörg Thalheim
84557733f7
rust: Remove unused buildRustPackage
from binaryBuild.nix
2018-12-18 06:07:57 +01:00
Jörg Thalheim
3a5b4a631d
rustc: 1.30.1 -> 1.31.0
2018-12-06 22:22:10 +00:00
Jörg Thalheim
9e39329e1f
Merge pull request #50006 from alyssais/rust-1.30.1
...
rust: 1.30.0 -> 1.30.1
2018-11-14 11:29:22 +00:00
Alyssa Ross
934e489401
rust: 1.30.0 -> 1.30.1
2018-11-09 15:27:52 +00:00
Symphorien Gibol
973eca740b
rustc: fix build with unbundled jemalloc and llvm on darwin
...
jemalloc with stripped prefix would cause segfaults in free:
https://github.com/NixOS/nixpkgs/pull/49557#issuecomment-436734677
Thanks to @danieldk for darwin testing/debugging.
2018-11-08 13:10:24 +01:00
Symphorien Gibol
4b0d441cc4
rustc: build with system llvm and jemalloc
...
Just like fedora does: https://src.fedoraproject.org/rpms/rust/blob/master/f/rust.spec
Also some cleanup of tests which were removed but no longer exist.
2018-11-08 13:04:37 +01:00
Daiderd Jordan
1b47b95638
cargo: fix darwin build
...
It depends the Security framework now.
2018-10-26 16:06:56 +01:00
Daiderd Jordan
0d64e81ce6
rustc: fix moved tests and darwin build
2018-10-26 12:14:24 +01:00
Jörg Thalheim
cafecf16af
rust: 1.29.1 -> 1.30.0
2018-10-26 10:37:46 +01:00
Andreas Rammhold
aef6830d3e
rustc: 1.29.0 -> 1.29.1
...
From the changelog:
- The standard library's `str::repeat` function contained an out of bounds write
caused by an integer overflow. This has been fixed by deterministically
panicking when an overflow happens.
2018-10-03 16:26:48 +02:00
Symphorien Gibol
ffafe959ee
rustc: 1.27 -> 1.29
2018-09-14 14:22:56 +02:00
John Ericson
0828e2d8c3
treewide: Remove usage of remaining redundant platform compatability stuff
...
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
2018-08-30 17:20:32 -04:00
John Ericson
2c2f1e37d4
reewide: Purge all uses stdenv.system
and top-level system
...
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
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
Jörg Thalheim
218298b30f
Merge branch 'master' into unused5
2018-07-21 15:41:22 +01:00
Frederik Rietdijk
8424ac61a9
Merge pull request #43862 from volth/unused3
...
[bot] treewide: remove unused 'args@' in lambdas
2018-07-21 11:14:44 +02:00
volth
52f53c69ce
pkgs/*: remove unreferenced function arguments
2018-07-21 02:48:04 +00:00
volth
dda95bae35
[bot] treewide: remove unused 'args@' in lambdas
2018-07-20 19:54:05 +00:00
volth
6d2857a311
[bot] treewide: remove unused 'inherit' in let blocks
2018-07-20 19:38:19 +00:00
Eelco Dolstra
323fe3a305
rustc: Disable tests for now
2018-07-09 12:35:01 +02:00
Jörg Thalheim
cbdd14bdc8
rustc: 1.26.2 -> 1.27.0
2018-06-21 17:20:37 -05:00
Shea Levy
afad9983e3
rust: Fix typo in binary build comment.
...
Pointed out by @Havvy.
2018-06-12 19:01:24 -04:00
Jörg Thalheim
47529594e4
rustc: disable test-inherit-env
...
This fails on hydra on x86_64 for unknown reason.
2018-06-08 10:55:02 +01:00
Daiderd Jordan
c5d1f8f313
rust: fix test condition in tcp patch
2018-06-06 20:18:46 +02:00
jD91mZM2
810e6759c2
rustc: 1.26.1 -> 1.26.2
2018-06-06 07:29:09 +02:00
Daiderd Jordan
ff37f08aa8
rustc: re-enable tests on darwin
...
- disable doctest for stdsimd
- disable previous and some extra extra tcp tests
2018-06-05 07:43:36 +02:00
jD91mZM2
fd95f532e0
rust: 1.25.0 -> 1.26.1
2018-06-04 22:07:16 +02:00
Matthew Justin Bauer
332b9dedc8
rust: disable tests on darwin
...
See https://github.com/rust-lang/rust/issues/51006
Tests frequently fail on Darwin. Not sure why but it's easier to just disable for now.
2018-06-03 16:56:17 -04:00
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
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
Maximilian Güntner
e30e201027
rust: unbreak building with bundled LLVM
2017-10-23 00:30:46 +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
Orivej Desh
fda26c8476
Merge branch 'master' into staging
...
* master: (271 commits)
pysmbc: clarify license
pysmbc: fix license
bazel: 0.5.4 -> 0.6.0 (#29990 )
googler: init at 3.3
go: declare support for aarch64
firefox-beta-bin: 56.0b5 -> 57.0b4
spotify: 1.0.64.401.g9d720389-21 -> 1.0.64.407.g9bd02c2d-26
gogs: 0.11.19 -> 0.11.29
grafana: 4.5.1 -> 4.5.2
mopidy-iris: 3.4.1 -> 3.4.9
nextcloud: 12.0.2 -> 12.0.3
haskell-json-autotype: jailbreak to fix build within LTS 9.x
kore: fix up
kore: init at 2.0.0
glusterfs service: fix issues with useRpcbind
tig: 2.2.2 -> 2.3.0
haskell-hspec-core: enable test suite again
hackage-packages.nix: automatic Haskell package set update
librsvg: fix thumbnailer path
awscli: 1.11.108 -> 1.11.162
...
2017-10-02 00:22:12 +00:00
Robin Gloster
40ed226507
treewide: mark a bunch of failing builds as broken
...
(cherry picked from commit 23fdbaa375
)
[dezgeg: Un-mark shotcut, tokei & uchiwa that do build on master]
2017-10-01 00:26:52 +03: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
Frederik Rietdijk
6bbc3a0b24
Merge commit '3b29468313bc8604fe8f85c8d9316fd276d3985c' into HEAD
2017-08-21 04:44:40 +02:00
Matthew Bauer
f2141a96e5
cargo: use https://crates.io for homepage
2017-08-17 15:04:39 -07:00
Tuomas Tynkkynen
1ff422aa23
treewide: Add man & info outputs where necessary (instead of doc)
...
Because man & info pages won't be going to $doc after the next commit.
Scripted change for the files having one-package-per-file.
2017-08-11 21:32:54 +03:00
Daiderd Jordan
147cd29fff
rustc: remove gdb dependency for darwin
2017-08-06 19:00:58 +02:00
Vladimír Čunát
ddf864f8aa
Merge branch 'master' into staging
...
Mass rebuilds from master (>7k on x86_64-linux).
2017-06-30 18:16:58 +02:00
John Ericson
95c8277701
misc pkgs: Remove unneeded *Platform == *Platform comparisons
...
PR #26007 used these to avoid causing a mass rebuild. Now that we know
things work, we do that to clean up.
2017-06-30 10:09:31 -04:00
Jörg Thalheim
a9ba1e101e
rustNightlyBin: 2017-05-30 -> 2017-06-26
2017-06-26 15:18:55 +01:00
John Ericson
594d264205
cross stdenv adaptor: Support --host --build --target across the board
...
Packages get --host and --target by default, but can explicitly request
any subset to be passed as needed. See docs for more info.
rustc: Avoid hash breakage by using the old (ignored)
dontSetConfigureCross when not cross building
2017-06-22 17:52:28 -04:00
Graham Christensen
72ff321f9c
rustc: re-enable static_in_const
...
We saw this error when building main.rs:error: this needs a 'static lifetime or the static_in_const feature, see #35897
2017-06-16 07:09:40 -04:00
Graham Christensen
ba9c71b999
rustc.bootstrap: 1.17.0 -> 1.16.0
...
bootstrapping rust requires the prior version of rust according to #rust-internals
they theorize this could be causing the build problems on i686
2017-06-15 19:57:00 -04:00
Daiderd Jordan
3d601f6a8a
rustc: disable another gdb test
2017-06-11 15:11:46 +02:00
Daiderd Jordan
f6072d7b6e
rustc: disable lldb tests on darwin
2017-06-11 08:51:47 +02: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
Tuomas Tynkkynen
c90998d5cf
Revert "rustc: don't build on i686"
...
This reverts commit 9f86136cef
.
Rust is nowadays required for building Firefox, so the channel updates
are blocked on this.
(It also builds fine for me.)
2017-04-24 21:25:02 +03: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
Robin Gloster
9f86136cef
rustc: don't build on i686
2017-03-30 16:23:34 +02:00
Daiderd Jordan
01d8d1b062
rustc: use llvm_39
2017-03-28 22:10:05 +02:00
Jörg Thalheim
273e480379
rustNightlyBin: 2017-01-26 -> 2017-03-16 ( #23988 )
...
thanks!
2017-03-17 14:51:28 +01:00
Tuomas Tynkkynen
1508945755
treewide: Fix eval-release.nix for aarch64
2017-03-09 03:38:04 +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
Yacine Hmito
61e4313bf1
rustNightlyBin: 2016-12-29 -> 2017-01-26 ( #22228 )
...
thanks!
2017-01-28 18:27:41 +01:00
Moritz Ulrich
a42044c6b5
rustc: Disable another failing tcp test on Darwin.
...
Fixes #21936
2017-01-17 10:59:57 +01:00
Daiderd Jordan
e1d0c9ae20
rustc: disable parallel building because of https://github.com/rust-lang/rust/issues/30181
...
https://github.com/NixOS/nixpkgs/pull/21742
2017-01-14 17:38:46 +01:00
Daiderd Jordan
e91840cfb6
rustc: enable codegen units and parallel building ( #21742 )
2017-01-12 14:25:20 +01: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
Reno Reckling
2b17620d59
update rustBeta and rustNightly ( #21800 )
...
looks good
2017-01-11 11:50:42 +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
Jay Mundrawala
3dc8b5d904
rustUnstableBin.rustc: Run patchelf on bin/rustdoc ( #21746 )
...
Cargo seems to run rustdoc and produces an annoying error when
it tries to run.
2017-01-08 10:53:44 +01:00
Jörg Thalheim
d05656a9ca
rustNightlyBin: fix build hash
2017-01-03 18:21:19 +00:00
Jörg Thalheim
fd152db8f7
rustNightlyBin: 2016-12-05 -> 2016-12-29 ( #21618 )
...
- add cargo (hence the renaming)
- also allow to built nix packages
2017-01-03 16:50:56 +01:00
Tadas Barzdzius
31ec0795f6
cargo: 0.14 -> 0.15
2016-12-29 09:56:19 +02:00
Tadas Barzdzius
7fa4b0f2c9
rustc: 1.13.0 -> 1.14.0
2016-12-29 09:55:38 +02:00
Joachim Schiele
1f811a6727
rustcNightlyBin.rustc: revision bump 2016-11-26 to 2016-12-05 with fix to contain components as libcore
2016-12-12 18:59:10 +01:00
joachim schiele
8806344618
rust: Updates & rename rustUnstable
to rustNighly
.
2016-11-29 17:09:01 +01:00
joachim schiele
f67061c1de
(rustc-nightly) init at 2016-11-26 - precompiled rustc nightly binary
2016-11-29 09:10:39 +01:00
Moritz Ulrich
bfc187f23a
rustc: Loosen bootstrapping restrictions.
...
Newer nightlies check a new environment variable that if set will loosen
restrictions on which compiler version can be used for bootstrapping.
Upstream issue is at https://github.com/rust-lang/rust/pull/37265
2016-11-28 11:21:12 +01:00
Moritz Ulrich
e36d243258
rustc: Don't fail if deleting of breaking tests fails.
2016-11-28 11:16:13 +01:00
Moritz Ulrich
aa4ad9b98a
rustc: Fix hanging build by disabling test.
2016-11-20 15:38:37 +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