@@ -18,19 +18,19 @@ assert stdenv.gcc.gcc != null;
1818
1919*/
2020
21−with ((import ./common.nix) {inherit stdenv; version = "0.12.0-pre-1166-g0047dbe";});
21+with ((import ./common.nix) {inherit stdenv; version = "0.12.0-pre-1336-g394269d";});
2222
2323let snapshot = if stdenv.system == "i686-linux"
24− then "3f8bb33f86800affca3cb7245925c19b28a94498"
24+ then "999ba4a0dfb70adca628138a7d5f491023621140"
2525 else if stdenv.system == "x86_64-linux"
26− then "e0e13a4312bea0bcc7db35b46bcce957178b18a4"
26+ then "55eaaed3bd6dd5a8d08e99aa4cd618d207f87d8c"
2727 else if stdenv.system == "i686-darwin"
28− then "22f084aaecb773e8348c64fb9ac6d5eba363eb56"
28+ then "0581dff21a238343602ec0202a551bac93d21300"
2929 else if stdenv.system == "x86_64-darwin"
30− then "c8554badab19cee96fbf51c2b98ee1bba87caa5c"
30+ then "aad290cf3f8ac4aa0661984a9799c78161ea5a72"
3131 else abort "no-snapshot for platform ${stdenv.system}";
32− snapshotDate = "2014-11-10";
33− snapshotRev = "f89e975";
32+ snapshotDate = "2014-11-18";
33+ snapshotRev = "9c96a79";
3434 snapshotName = "rust-stage0-${snapshotDate}-${snapshotRev}-${platform}-${snapshot}.tar.bz2";
3535
3636in stdenv.mkDerivation {
@@ -40,8 +40,8 @@ in stdenv.mkDerivation {
4040
4141 src = fetchgit {
4242 url = https://github.com/rust-lang/rust;
43− rev = "0047dbe59c41b951d34ce6324f3a8c0e15d523e9";
44− sha256 = "1w22w5rfpw0kcmnrrmrxslsxyl4xhyckcxgwmv3hbir05qxsxm6m";
43+ rev = "394269d16e3752a23ffa273e68f8aaefd2a510c4";
44+ sha256 = "0zkz5f4gba4glhrf9f7v42qxk638q9ahgf6m0bjh8b7c3x52cv71";
4545 };
4646
4747 # We need rust to build rust. If we don't provide it, configure will try to download it.
@@ -69,7 +69,7 @@ in stdenv.mkDerivation {
6969 ++ stdenv.lib.optional stdenv.needsPax ./grsec.HEAD.patch;
7070
7171 postPatch = ''
72− substituteInPlace src/librustc/back/link.rs \
72+ substituteInPlace src/librustc_trans/back/link.rs \
7373 --subst-var-by "ccPath" "${stdenv.gcc}/bin/cc"
7474 substituteInPlace src/librustc_back/archive.rs \
7575 --subst-var-by "arPath" "${stdenv.gcc.binutils}/bin/ar"