2015-09-05 18:48:36 +02:00
|
|
|
# Please make sure to check if rustfmt still builds when updating nightly
|
2015-03-01 20:31:57 +01:00
|
|
|
{ stdenv, callPackage }:
|
2015-09-23 06:18:07 +02:00
|
|
|
|
2015-06-19 14:23:18 +02:00
|
|
|
callPackage ./generic.nix {
|
2016-03-20 21:44:50 +01:00
|
|
|
shortVersion = "2016-03-22";
|
2015-03-01 20:31:57 +01:00
|
|
|
isRelease = false;
|
2016-02-02 18:33:09 +01:00
|
|
|
forceBundledLLVM = true;
|
2016-03-20 21:44:50 +01:00
|
|
|
srcRev = "6cc502c986d42da407e26a49d4f09f21d3072fcb";
|
|
|
|
srcSha = "096lsc8irh9a7w494yaji28kzy9frs2myqrfyj0fzbxkvs3yfhzz";
|
2015-09-23 06:18:07 +02: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.
|
|
|
|
*/
|
|
|
|
|
2016-03-20 21:44:50 +01:00
|
|
|
snapshotHashLinux686 = "0e0e4448b80d0a12b75485795244bb3857a0a7ef";
|
|
|
|
snapshotHashLinux64 = "1273b6b6aed421c9e40c59f366d0df6092ec0397";
|
|
|
|
snapshotHashDarwin686 = "9f9c0b4a2db09acbce54b792fb8839a735585565";
|
|
|
|
snapshotHashDarwin64 = "52570f6fd915b0210a9be98cfc933148e16a75f8";
|
|
|
|
snapshotDate = "2016-03-18";
|
|
|
|
snapshotRev = "235d774";
|
2015-09-23 06:18:07 +02:00
|
|
|
|
|
|
|
patches = [ ./patches/remove-uneeded-git.patch ]
|
2015-12-24 00:21:35 +01:00
|
|
|
++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch;
|
2014-07-31 20:42:20 +02:00
|
|
|
}
|