tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
rustc: 1.13.0 -> 1.14.0
Tadas Barzdzius
9 years ago
7fa4b0f2
9ec867f5
+15
-14
3 changed files
expand all
collapse all
unified
split
pkgs
development
compilers
rust
bootstrap.nix
default.nix
patches
disable-lockfile-check-stable.patch
+6
-6
pkgs/development/compilers/rust/bootstrap.nix
···
14
then "x86_64-apple-darwin"
15
else abort "missing boostrap url for platform ${stdenv.system}";
16
17
-
# fetch hashes by running `print-hashes.sh 1.12.1`
18
bootstrapHash =
19
if stdenv.system == "i686-linux"
20
-
then "ede9b9d14d1ddbc29975d1ead73fcf2758719b4b371363afe1c32eb8d6e96bb3"
21
else if stdenv.system == "x86_64-linux"
22
-
then "9e546aec13e389429ba2d86c8f4e67eba5af146c979e4faa16ffb40ddaf9984c"
23
else if stdenv.system == "i686-darwin"
24
-
then "2648645c4fe1ecf36beb7de63501dd99e9547a7a6d5683acf2693b919a550b69"
25
else if stdenv.system == "x86_64-darwin"
26
-
then "0ac5e58dba3d24bf09dcc90eaac02d2df053122b0def945ec4cfe36ac6d4d011"
27
else throw "missing boostrap hash for platform ${stdenv.system}";
28
29
needsPatchelf = stdenv.isLinux;
···
33
sha256 = bootstrapHash;
34
};
35
36
-
version = "1.12.1";
37
in
38
39
rec {
···
14
then "x86_64-apple-darwin"
15
else abort "missing boostrap url for platform ${stdenv.system}";
16
17
+
# fetch hashes by running `print-hashes.sh 1.13.0`
18
bootstrapHash =
19
if stdenv.system == "i686-linux"
20
+
then "239734113f6750d31085c7a08c260d492991cc1ef10817b6d44154515f3f9439"
21
else if stdenv.system == "x86_64-linux"
22
+
then "95f4c372b1b81ac1038161e87e932dd7ab875d25c167a861c3949b0f6a65516d"
23
else if stdenv.system == "i686-darwin"
24
+
then "f6e01cab3bf8d0a6fe9cc2447aa10ce894569daaa72d44063c229da918b96023"
25
else if stdenv.system == "x86_64-darwin"
26
+
then "f538ca5732b844cf7f00fc4aaaf200a49a845b58b4ec8aef38da0b00e2cf6efe"
27
else throw "missing boostrap hash for platform ${stdenv.system}";
28
29
needsPatchelf = stdenv.isLinux;
···
33
sha256 = bootstrapHash;
34
};
35
36
+
version = "1.13.0";
37
in
38
39
rec {
+7
-7
pkgs/development/compilers/rust/default.nix
···
7
8
rec {
9
rustc = callPackage ./rustc.nix {
10
-
shortVersion = "1.13";
11
isRelease = true;
12
forceBundledLLVM = false;
13
configureFlags = [ "--release-channel=stable" ];
14
-
srcRev = "2c6933acc05c61e041be764cb1331f6281993f3f";
15
-
srcSha = "1w0alyyc29cy2lczrqvg1kfycjxy0xg8fpzdac80m88fxpv23glp";
16
17
patches = [
18
./patches/disable-lockfile-check-stable.patch
···
25
};
26
27
cargo = callPackage ./cargo.nix rec {
28
-
version = "0.14.0";
29
-
srcRev = "eca9e159b6b0d484788ac757cf23052eba75af55";
30
-
srcSha = "1zm5rzw1mvixnkzr4775pcxx6k235qqxbysyp179cbxsw3dm045s";
31
-
depsSha256 = "0gpn0cpwgpzwhc359qn6qplx371ag9pqbwayhqrsydk1zm5bm3zr";
32
33
inherit rustc; # the rustc that will be wrapped by cargo
34
inherit rustPlatform; # used to build cargo
···
7
8
rec {
9
rustc = callPackage ./rustc.nix {
10
+
shortVersion = "1.14";
11
isRelease = true;
12
forceBundledLLVM = false;
13
configureFlags = [ "--release-channel=stable" ];
14
+
srcRev = "e8a0123241f0d397d39cd18fcc4e5e7edde22730";
15
+
srcSha = "1sla3gnx9dqvivnyhvwz299mc3jmdy805q2y5xpmpi1vhfk0bafx";
16
17
patches = [
18
./patches/disable-lockfile-check-stable.patch
···
25
};
26
27
cargo = callPackage ./cargo.nix rec {
28
+
version = "0.15.0";
29
+
srcRev = "298a0127f703d4c2500bb06d309488b92ef84ae1";
30
+
srcSha = "0v74r18vszapw2rfk7w72czkp9gbq4s1sggphm5vx0kyh058dxc5";
31
+
depsSha256 = "0ksiywli8r4lkprfknm0yz1w27060psi3db6wblqmi8sckzdm44h";
32
33
inherit rustc; # the rustc that will be wrapped by cargo
34
inherit rustPlatform; # used to build cargo
+2
-1
pkgs/development/compilers/rust/patches/disable-lockfile-check-stable.patch
···
11
index 2839bbd..50142ff 100644
12
--- a/src/tools/tidy/src/main.rs
13
+++ b/src/tools/tidy/src/main.rs
14
-
@@ -47,7 +47,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);
0
20
21
if bad {
22
panic!("some tidy checks failed");
···
11
index 2839bbd..50142ff 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
panic!("some tidy checks failed");