diff options
Diffstat (limited to 'pkgs/development/compilers/rustc/head.nix')
-rw-r--r-- | pkgs/development/compilers/rustc/head.nix | 32 |
1 files changed, 9 insertions, 23 deletions
diff --git a/pkgs/development/compilers/rustc/head.nix b/pkgs/development/compilers/rustc/head.nix index bb67b88c4780..8d9373eb3c3d 100644 --- a/pkgs/development/compilers/rustc/head.nix +++ b/pkgs/development/compilers/rustc/head.nix @@ -1,27 +1,13 @@ # Please make sure to check if rustfmt still builds when updating nightly -{ stdenv, callPackage }: +{ stdenv, callPackage, rustcStable }: callPackage ./generic.nix { - shortVersion = "2016-03-22"; - isRelease = false; - forceBundledLLVM = true; - 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. - */ - - snapshotHashLinux686 = "0e0e4448b80d0a12b75485795244bb3857a0a7ef"; - snapshotHashLinux64 = "1273b6b6aed421c9e40c59f366d0df6092ec0397"; - snapshotHashDarwin686 = "9f9c0b4a2db09acbce54b792fb8839a735585565"; - snapshotHashDarwin64 = "52570f6fd915b0210a9be98cfc933148e16a75f8"; - snapshotDate = "2016-03-18"; - snapshotRev = "235d774"; - - patches = [ ./patches/remove-uneeded-git.patch ] - ++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch; + shortVersion = "master-1.11.0"; + forceBundledLLVM = false; + srcRev = "298730e7032cd55809423773da397cd5c7d827d4"; + srcSha = "0hyz5j1z75sjkgsifzgxviv3b1lhgaz8wqwvmq80xx5vd78yd0c1"; + patches = [ ./patches/disable-lockfile-check.patch + ./patches/use-rustc-1.9.0.patch ] ++ + stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch; + rustc = rustcStable; } |