2015-09-05 17:48:36 +01:00
|
|
|
# Please make sure to check if rustfmt still builds when updating nightly
|
2015-03-01 19:31:57 +00:00
|
|
|
{ stdenv, callPackage }:
|
2015-09-23 05:18:07 +01:00
|
|
|
|
2015-06-19 13:23:18 +01:00
|
|
|
callPackage ./generic.nix {
|
2016-02-22 20:08:07 +00:00
|
|
|
shortVersion = "2016-02-22";
|
2015-03-01 19:31:57 +00:00
|
|
|
isRelease = false;
|
2016-02-02 17:33:09 +00:00
|
|
|
forceBundledLLVM = true;
|
2016-02-22 20:08:07 +00:00
|
|
|
srcRev = "d1f422ec280b881b8236c5d173103bc799e1590e";
|
|
|
|
srcSha = "b0753045ae438c0869d37f429fe84451dcacc4b2ab9413d34bf29fde94fde462";
|
2015-09-23 05:18:07 +01: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-01-10 17:25:07 +00:00
|
|
|
snapshotHashLinux686 = "a09c4a4036151d0cb28e265101669731600e01f2";
|
|
|
|
snapshotHashLinux64 = "97e2a5eb8904962df8596e95d6e5d9b574d73bf4";
|
|
|
|
snapshotHashDarwin686 = "ca52d2d3ba6497ed007705ee3401cf7efc136ca1";
|
|
|
|
snapshotHashDarwin64 = "3c44ffa18f89567c2b81f8d695e711c86d81ffc7";
|
|
|
|
snapshotDate = "2015-12-18";
|
|
|
|
snapshotRev = "3391630";
|
2015-09-23 05:18:07 +01:00
|
|
|
|
|
|
|
patches = [ ./patches/remove-uneeded-git.patch ]
|
2015-12-23 23:21:35 +00:00
|
|
|
++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch;
|
2014-07-31 19:42:20 +01:00
|
|
|
}
|
2015-03-01 19:31:57 +00:00
|
|
|
|