2015-09-05 09:48:36 -07:00
|
|
|
# Please make sure to check if rustfmt still builds when updating nightly
|
2015-03-01 11:31:57 -08:00
|
|
|
{ stdenv, callPackage }:
|
2015-09-22 21:18:07 -07:00
|
|
|
|
2015-06-19 05:23:18 -07:00
|
|
|
callPackage ./generic.nix {
|
2015-12-09 06:57:53 -08:00
|
|
|
shortVersion = "2015-12-09";
|
2015-03-01 11:31:57 -08:00
|
|
|
isRelease = false;
|
2015-11-03 15:24:03 -08:00
|
|
|
forceBundledLLVM = true;
|
2015-12-09 06:57:53 -08:00
|
|
|
srcRev = "462ec0576";
|
|
|
|
srcSha = "1mci0hxwnqb24j4k68rgffqk8ccznz2iddfmyhi8wxa094hqgghp";
|
2015-09-22 21:18:07 -07:00
|
|
|
|
|
|
|
/* Rust is bootstrapped from an earlier built version. We need
|
|
|
|
to fetch these earlier versions, which vary per platform.
|
|
|
|
The shapshot info you want can be found at
|
|
|
|
https://github.com/rust-lang/rust/blob/{$shortVersion}/src/snapshots.txt
|
|
|
|
with the set you want at the top.
|
|
|
|
*/
|
|
|
|
|
2015-09-05 09:47:59 -07:00
|
|
|
snapshotHashLinux686 = "e2553bf399cd134a08ef3511a0a6ab0d7a667216";
|
|
|
|
snapshotHashLinux64 = "7df8ba9dec63ec77b857066109d4b6250f3d222f";
|
|
|
|
snapshotHashDarwin686 = "29750870c82a0347f8b8b735a4e2e0da26f5098d";
|
|
|
|
snapshotHashDarwin64 = "c9f2c588238b4c6998190c3abeb33fd6164099a2";
|
|
|
|
snapshotDate = "2015-08-11";
|
|
|
|
snapshotRev = "1af31d4";
|
2015-09-22 21:18:07 -07:00
|
|
|
|
|
|
|
patches = [ ./patches/remove-uneeded-git.patch ]
|
|
|
|
++ stdenv.lib.optional stdenv.needsPax ./patches/grsec-head.patch;
|
2014-07-31 11:42:20 -07:00
|
|
|
}
|
2015-03-01 11:31:57 -08:00
|
|
|
|