1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/compilers/rustc/default.nix

28 lines
1.1 KiB
Nix
Raw Normal View History

2015-07-06 07:21:00 +01:00
{ stdenv, callPackage }:
2015-07-06 07:21:00 +01:00
callPackage ./generic.nix {
2016-04-20 10:39:44 +01:00
shortVersion = "1.8.0";
2015-07-06 07:21:00 +01:00
isRelease = true;
2015-12-24 20:12:57 +00:00
forceBundledLLVM = false;
configureFlags = [ "--release-channel=stable" ];
2016-04-20 10:39:44 +01:00
srcSha = "1s03aymmhhrndq29sv9cs8s4p1sg8qvq8ds6lyp6s4ny8nyvdpzy";
2015-07-06 07:21:00 +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. Make sure this is the latest snapshot
for the tagged release and not a snapshot in the current HEAD.
2015-07-06 07:21:00 +01:00
*/
2016-04-20 10:39:44 +01:00
snapshotHashLinux686 = "5f194aa7628c0703f0fd48adc4ec7f3cc64b98c7";
snapshotHashLinux64 = "d29b7607d13d64078b6324aec82926fb493f59ba";
snapshotHashDarwin686 = "4c8e42dd649e247f3576bf9dfa273327b4907f9c";
snapshotHashDarwin64 = "411a41363f922d1d93fa62ff2fedf5c35e9cccb2";
snapshotDate = "2016-02-17";
snapshotRev = "4d3eebf";
2015-07-06 07:21:00 +01:00
2015-10-31 02:40:35 +00:00
patches = [ ./patches/remove-uneeded-git.patch ]
++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch;
2015-07-06 07:21:00 +01:00
}