nixpkgs/pkgs/development/compilers/rustc/head.nix

28 lines
1.0 KiB
Nix
Raw Normal View History

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