File tree 9 files changed +69
-24
lines changed
development/compilers/rust
9 files changed +69
-24
lines changed Original file line number Diff line number Diff line change 3
3
4
4
rec {
5
5
rustc = callPackage ./rustc.nix {
6
- shortVersion = "beta-2016-08-17 " ;
6
+ shortVersion = "beta-2016-11-16 " ;
7
7
forceBundledLLVM = false ;
8
8
configureFlags = [ "--release-channel=beta" ] ;
9
- srcRev = "822166b842e4d0b32fafc8b077fb927ec281253d " ;
10
- srcSha = "1zkv7hyjvcj7kvbngf309skgllk6rd7727a6hkvhd3hg8jlz0d00 " ;
9
+ srcRev = "e627a2e6edbc7b7fd205de8ca7c86cff76655f4d " ;
10
+ srcSha = "14sbhn6dp6rri1rpkspjlmy359zicwmyppdak52xj1kqhcjn71wa " ;
11
11
patches = [
12
- ./patches/disable-lockfile-check.patch
12
+ ./patches/disable-lockfile-check-beta .patch
13
13
] ++ stdenv . lib . optional stdenv . needsPax ./patches/grsec.patch ;
14
14
inherit targets ;
15
15
inherit targetPatches ;
@@ -18,10 +18,10 @@ rec {
18
18
} ;
19
19
20
20
cargo = callPackage ./cargo.nix rec {
21
- version = "beta-2016-07-25 " ;
22
- srcRev = "f09ef68cc47956ccc5f99212bdcdd15298c400a0 " ;
23
- srcSha = "1r6q9jd0fl6mzhwkvrrcv358q2784hg51dfpy28xgh4n61m7c155 " ;
24
- depsSha256 = "1p1ygabg9k9b0azm0mrx8asjzdi35c5zw53iysba198lli6bhdl4 " ;
21
+ version = "0.14.0 " ;
22
+ srcRev = "eca9e159b6b0d484788ac757cf23052eba75af55 " ;
23
+ srcSha = "1zm5rzw1mvixnkzr4775pcxx6k235qqxbysyp179cbxsw3dm045s " ;
24
+ depsSha256 = "0gpn0cpwgpzwhc359qn6qplx371ag9pqbwayhqrsydk1zm5bm3zr " ;
25
25
26
26
inherit rustc ; # the rustc that will be wrapped by cargo
27
27
inherit rustPlatform ; # used to build cargo
Original file line number Diff line number Diff line change 15
15
srcSha = "1w0alyyc29cy2lczrqvg1kfycjxy0xg8fpzdac80m88fxpv23glp" ;
16
16
17
17
patches = [
18
- ./patches/disable-lockfile-check.patch
18
+ ./patches/disable-lockfile-check-stable .patch
19
19
] ++ stdenv . lib . optional stdenv . needsPax ./patches/grsec.patch ;
20
20
21
21
inherit targets ;
Original file line number Diff line number Diff line change 3
3
4
4
rec {
5
5
rustc = callPackage ./rustc.nix {
6
- shortVersion = "master-1.13.0 " ;
6
+ shortVersion = "nightly-2016-11-23 " ;
7
7
forceBundledLLVM = false ;
8
8
configureFlags = [ "--release-channel=nightly" ] ;
9
- srcRev = "308824acecf902f2b6a9c1538bde0324804ba68e " ;
10
- srcSha = "17zv1a27a7w6n3a22brriqx5m6i4s3nsj7mlnpliwghlbz8q7384 " ;
9
+ srcRev = "d5814b03e652043be607f96e24709e06c2b55429 " ;
10
+ srcSha = "0x2vr1mda0mr8q28h96zfpv0f26dyrg8jwxznlh6gk0y0mprgcbr " ;
11
11
patches = [
12
- ./patches/disable-lockfile-check.patch
12
+ ./patches/disable-lockfile-check-nightly .patch
13
13
] ++ stdenv . lib . optional stdenv . needsPax ./patches/grsec.patch ;
14
14
inherit targets ;
15
15
inherit targetPatches ;
@@ -18,10 +18,10 @@ rec {
18
18
} ;
19
19
20
20
cargo = callPackage ./cargo.nix rec {
21
- version = "master -2016-07-25" ;
21
+ version = "nightly -2016-07-25" ;
22
22
srcRev = "f09ef68cc47956ccc5f99212bdcdd15298c400a0" ;
23
23
srcSha = "1r6q9jd0fl6mzhwkvrrcv358q2784hg51dfpy28xgh4n61m7c155" ;
24
- depsSha256 = "1p1ygabg9k9b0azm0mrx8asjzdi35c5zw53iysba198lli6bhdl4 " ;
24
+ depsSha256 = "055ky0lkrcsi976kmvc4lqyv0sjdpcj3jv36kz9hkqq0gip3crjc " ;
25
25
26
26
inherit rustc ; # the rustc that will be wrapped by cargo
27
27
inherit rustPlatform ; # used to build cargo
Original file line number Diff line number Diff line change 48
48
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
49
49
"$out/bin/rustc"
50
50
'' }
51
-
52
- # Do NOT, I repeat, DO NOT use `wrapProgram` on $out/bin/rustc
53
- # (or similar) here. It causes strange effects where rustc loads
54
- # the wrong libraries in a bootstrap-build causing failures that
55
- # are very hard to track dow. For details, see
56
- # https://github.com/rust-lang/rust/issues/34722#issuecomment-232164943
57
51
'' ;
58
52
} ;
59
53
}
Original file line number Diff line number Diff line change
1
+ From 5702d7cdb2bed7ac3af3c01087b181da35f6e108 Mon Sep 17 00:00:00 2001
2
+ From: joachim schiele <js@lastlog.de>
3
+ Date: Thu, 24 Nov 2016 22:25:48 +0100
4
+ Subject: [PATCH 2/2] asdf
5
+
6
+ ---
7
+ src/tools/tidy/src/main.rs | 2 +-
8
+ 1 file changed, 1 insertion(+), 1 deletion(-)
9
+
10
+ diff --git a/src/tools/tidy/src/main.rs b/src/tools/tidy/src/main.rs
11
+ index cabaee5..685df94 100644
12
+ --- a/src/tools/tidy/src/main.rs
13
+ +++ b/src/tools/tidy/src/main.rs
14
+ @@ -48,7 +48,7 @@ fn main() {
15
+ errors::check(&path, &mut bad);
16
+ cargo::check(&path, &mut bad);
17
+ features::check(&path, &mut bad);
18
+ - cargo_lock::check(&path, &mut bad);
19
+ + //cargo_lock::check(&path, &mut bad);
20
+ pal::check(&path, &mut bad);
21
+
22
+ if bad {
23
+ - -
24
+ 2.10.0
25
+
Original file line number Diff line number Diff line change
1
+ From ac204f8be95cdb2350a1dd893641e38528aaf01d Mon Sep 17 00:00:00 2001
2
+ From: joachim schiele <js@lastlog.de>
3
+ Date: Fri, 25 Nov 2016 02:17:02 +0100
4
+ Subject: [PATCH] asdf
5
+
6
+ ---
7
+ src/tools/tidy/src/main.rs | 2 +-
8
+ 1 file changed, 1 insertion(+), 1 deletion(-)
9
+
10
+ diff --git a/src/tools/tidy/src/main.rs b/src/tools/tidy/src/main.rs
11
+ index cb11fe2..c9b7d2a 100644
12
+ --- a/src/tools/tidy/src/main.rs
13
+ +++ b/src/tools/tidy/src/main.rs
14
+ @@ -45,7 +45,7 @@ fn main() {
15
+ bins::check(&path, &mut bad);
16
+ style::check(&path, &mut bad);
17
+ errors::check(&path, &mut bad);
18
+ - cargo::check(&path, &mut bad);
19
+ + //cargo::check(&path, &mut bad);
20
+ features::check(&path, &mut bad);
21
+ pal::check(&path, &mut bad);
22
+
23
+ - -
24
+ 2.10.0
25
+
File renamed without changes.
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ doNotDisplayTwice rec {
91
91
rekonqWrapper = rekonq ; # added 2015-01
92
92
rssglx = rss-glx ; #added 2015-03-25
93
93
rubygems = throw "deprecated 2016-03-02: rubygems is now bundled with ruby" ;
94
+ rustUnstable = rustNightly ; # added 2016-11-29
94
95
rxvt_unicode_with-plugins = rxvt_unicode-with-plugins ; # added 2015-04-02
95
96
samsungUnifiedLinuxDriver = samsung-unified-linux-driver ; # added 2016-01-25
96
97
saneBackends = sane-backends ; # added 2016-01-02
Original file line number Diff line number Diff line change @@ -5217,16 +5217,16 @@ in
5217
5217
};
5218
5218
5219
5219
rust = rustStable;
5220
- rustcNightlyBin = lowPrio(callPackage ../development/compilers/rust/nightlyBin.nix {});
5221
- rustcNightlyBin-2016-11-26 = rustcNightlyBin;
5220
+ rustcNightlyBin = lowPrio (callPackage ../development/compilers/rust/nightlyBin.nix {});
5222
5221
rustStable = callPackage ../development/compilers/rust {};
5223
5222
rustBeta = callPackage ../development/compilers/rust/beta.nix {};
5224
- rustUnstable = callPackage ../development/compilers/rust/head .nix {
5223
+ rustNightly = callPackage ../development/compilers/rust/nightly .nix {
5225
5224
rustPlatform = recurseIntoAttrs (makeRustPlatform rustBeta);
5226
5225
};
5227
5226
5228
5227
cargo = rust.cargo;
5229
5228
rustc = rust.rustc;
5229
+
5230
5230
rustPlatform = recurseIntoAttrs (makeRustPlatform rust);
5231
5231
5232
5232
makeRustPlatform = rust: lib.fix (self:
You can’t perform that action at this time.
0 commit comments