Commit Graph

42 Commits

Author SHA1 Message Date
fetsorn
d46d0c3295 typo in comments
value is a string while a list was expected
2022-07-01 10:35:39 +08:00
oxalica
1fd2dc01ee
Split out aggregation derivation and refactor
Fix #59
2021-12-02 22:46:35 +08:00
oxalica
0623949531
Refactor component resolution part
Pull out component derivations into a separated file, and drop all
legacy resolution code.
2021-12-02 16:29:26 +08:00
oxalica
825a993ad8
Hoist all utility functions from lib and builtins 2021-11-22 07:11:02 +08:00
oxalica
7d10573b5a
Fix toRustTarget for wasm32-wasi. 2021-11-22 07:11:02 +08:00
oxalica
f0a37690fa
Fix targetExtensions and improve error messages 2021-10-27 01:02:48 +08:00
oxalica
d875f63082
Fix propagated dependencies
- Use stdenv.cc instead of gcc for non-gcc stdenv, eg. darwin
- Use mkDerivation to generate nix-support files
- libiconv goes depsTargetTargetPropagated
- Fix #51
2021-09-21 19:24:30 +08:00
oxalica
c7ed82b231
Fix dependency offset for propagated gcc 2021-09-12 06:52:44 +08:00
oxalica
1c7a60bf6c
Support major.minor for fromRustupToolchain
Fix #48
2021-09-11 04:53:30 +08:00
oxalica
1debf72906
Fix miri and cargo-miri
Fix #44
2021-08-13 19:19:10 +08:00
oxalica
e19ca9cbfe
Reorganize and clean up examples
Fix #43
2021-08-13 18:13:38 +08:00
oxalica
e02596cdb9
Fix rust-docs for 1.53.0 2021-06-22 05:56:43 +08:00
Albert Cervin
70fc350a3f
Fix cross-compilation
Dependencies were specified in `depsTargetTarget` which would make them end up in the
dependencies for the target platform when they are actually dependencies needed on the
buildPlatform using the rust package. I.e. they are target dependencies of the compiler
package but will be used as build platform dependencies when propagated.
2021-05-18 09:59:38 +02:00
oxalica
3f5120e6be
Tweak docs 2021-04-30 04:10:39 +08:00
oxalica
55b946ef29
Add helper selectLatestNightlyWith 2021-04-30 04:10:39 +08:00
oxalica
4fb6f37ee9
Fix rls (#35) 2021-04-30 03:41:00 +08:00
oxalica
98e92a3c32
Patch binaries of llvm-tools-preview
Fix #28
2021-04-21 01:13:33 +08:00
oxalica
69be9b39f1
Fix RPath for darwin 2021-04-18 18:07:42 +08:00
oxalica
dab9470d41
Patch clippy-driver 2021-04-17 01:19:25 +08:00
oxalica
bd6c9c002d
Fix /etc handling 2021-04-12 22:19:10 +08:00
oxalica
8719858970
Use cpio instead of python for install script 2021-04-12 21:51:22 +08:00
oxalica
d06308345e
Add fallback for rust without profile support 2021-04-07 04:20:25 +08:00
oxalica
d88d58cbcd
Clean up traces during flake check 2021-04-07 04:20:25 +08:00
oxalica
d3956f058b
Fix cross compiling 2021-04-07 04:20:25 +08:00
oxalica
5f9d317ebb
Prefer profiles for stable toolchains 2021-04-07 04:20:25 +08:00
oxalica
f3404b1f10
Fix fromRustcRev 2021-04-07 04:20:25 +08:00
oxalica
a93dd52294
Refactor component resolution and aggregation 2021-04-07 04:19:37 +08:00
oxalica
f54319893f
Fix propagatedBuildInputs for darwin
Linker arguments contains `-liconv` on darwin.
2021-04-05 23:25:02 +08:00
oxalica
0565a346c1 Wrap cargo-miri for rust-src 2021-01-16 02:58:33 +08:00
oxalica
80287ab66a Fix sysroot of miri 2021-01-16 02:58:33 +08:00
oxalica
038f0fb575
Add fromRustcRev for rust component development 2021-01-14 22:46:23 +08:00
oxalica
a04ffd9804
Add support for beta channel 2021-01-05 03:38:46 +08:00
oxalica
d8a51ae149
Speed up installPhase for nightly rust-docs 2021-01-05 03:27:32 +08:00
oxalica
4c8d518d39
Tweak component version handling 2021-01-04 03:11:32 +08:00
oxalica
77e4b0678a
Add renames support 2021-01-04 02:20:36 +08:00
oxalica
926e333455
Add support for legacy rust-toolchain
Change to immutable URLs
2021-01-03 23:34:51 +08:00
oxalica
95b0983b31
Refactor and add messages for unsupported attrs 2021-01-03 21:45:25 +08:00
oxalica
b6fde02915
Add support for fromRustupToolchain
Close #1
2021-01-03 21:45:25 +08:00
oxalica
4c09255aeb
Provide rust-bin and clean-up 2021-01-02 20:42:57 +08:00
oxalica
43fa470721
Add nightly support 2021-01-02 02:03:38 +08:00
oxalica
488822942d
Add stable toolchains down to 1.29.0 2021-01-01 22:42:15 +08:00
oxalica
815fa068bc
Init 2021-01-01 20:16:46 +08:00