3
0
Fork 0
forked from mirrors/nixpkgs

rustc, cargo: 1.12.1 -> 1.13.0, 0.13.0 -> 0.14.0

This commit is contained in:
Tadas Barzdzius 2016-11-16 13:25:19 +02:00
parent 39297fa36b
commit 0f51eb58ee
2 changed files with 13 additions and 13 deletions

View file

@ -14,16 +14,16 @@ let
then "x86_64-apple-darwin" then "x86_64-apple-darwin"
else abort "missing boostrap url for platform ${stdenv.system}"; else abort "missing boostrap url for platform ${stdenv.system}";
# fetch hashes by running `print-hashes.sh 1.9.0` # fetch hashes by running `print-hashes.sh 1.12.1`
bootstrapHash = bootstrapHash =
if stdenv.system == "i686-linux" if stdenv.system == "i686-linux"
then "f5a3f5d53defe827a71447b1a0e7a656394b87ee23e009d7bf73a0277c1b5ac2" then "ede9b9d14d1ddbc29975d1ead73fcf2758719b4b371363afe1c32eb8d6e96bb3"
else if stdenv.system == "x86_64-linux" else if stdenv.system == "x86_64-linux"
then "f4ebbd6d9494cb8fa6c410cb58954e1913546c2bca8963faebc424591547d83f" then "9e546aec13e389429ba2d86c8f4e67eba5af146c979e4faa16ffb40ddaf9984c"
else if stdenv.system == "i686-darwin" else if stdenv.system == "i686-darwin"
then "bf07182bc362985fcdd48af905cdb559e20c68518cd71dabec3c30b78ca8a94a" then "2648645c4fe1ecf36beb7de63501dd99e9547a7a6d5683acf2693b919a550b69"
else if stdenv.system == "x86_64-darwin" else if stdenv.system == "x86_64-darwin"
then "2cdbc47438dc86ecaf35298317b77d735956eb160862e3f6d0fda0da656ecc35" then "0ac5e58dba3d24bf09dcc90eaac02d2df053122b0def945ec4cfe36ac6d4d011"
else throw "missing boostrap hash for platform ${stdenv.system}"; else throw "missing boostrap hash for platform ${stdenv.system}";
needsPatchelf = stdenv.isLinux; needsPatchelf = stdenv.isLinux;
@ -33,7 +33,7 @@ let
sha256 = bootstrapHash; sha256 = bootstrapHash;
}; };
version = "1.11.0"; version = "1.12.1";
in in
rec { rec {

View file

@ -7,12 +7,12 @@ in
rec { rec {
rustc = callPackage ./rustc.nix { rustc = callPackage ./rustc.nix {
shortVersion = "1.12.1"; shortVersion = "1.13";
isRelease = true; isRelease = true;
forceBundledLLVM = false; forceBundledLLVM = false;
configureFlags = [ "--release-channel=stable" ]; configureFlags = [ "--release-channel=stable" ];
srcRev = "d4f39402a0c2c2b94ec0375cd7f7f6d7918113cd"; srcRev = "2c6933acc05c61e041be764cb1331f6281993f3f";
srcSha = "1lpykjy96rwz4jy28rf7ijca0q9lvckgnbzvcdsrspd5rs2ywfwr"; srcSha = "1w0alyyc29cy2lczrqvg1kfycjxy0xg8fpzdac80m88fxpv23glp";
patches = [ patches = [
./patches/disable-lockfile-check.patch ./patches/disable-lockfile-check.patch
@ -25,10 +25,10 @@ rec {
}; };
cargo = callPackage ./cargo.nix rec { cargo = callPackage ./cargo.nix rec {
version = "0.13.0"; version = "0.14.0";
srcRev = "109cb7c33d426044d141457049bd0fffaca1327c"; srcRev = "eca9e159b6b0d484788ac757cf23052eba75af55";
srcSha = "0p79m7hpzjh36l4fc6a59h6r8yz6qafjcdg5v1yb7bac9m2wi7vs"; srcSha = "1zm5rzw1mvixnkzr4775pcxx6k235qqxbysyp179cbxsw3dm045s";
depsSha256 = "1cwp4p8b985fj8j2qmgsi2mpp51rdpwzm9qa60760nrry1fy624z"; depsSha256 = "0gpn0cpwgpzwhc359qn6qplx371ag9pqbwayhqrsydk1zm5bm3zr";
inherit rustc; # the rustc that will be wrapped by cargo inherit rustc; # the rustc that will be wrapped by cargo
inherit rustPlatform; # used to build cargo inherit rustPlatform; # used to build cargo