git.iko.soy/typeable/nixpkgs
on master help sign in
rustc: 1.0.0 -> 1.1.0
commitbf492548a27aca1068fe75d162cad77000134704 authorRobert Irelan <rirelan@gmail.com> dateSun 5 Jul 2015, 23:21 (11 years ago) parent9d67699
4 files changed+35−18
pkgs/development/compilers/rustc/1.0.0.nix−16 pkgs/development/compilers/rustc/default.nix+33 pkgs/development/compilers/rustc/generic.nix+1−1 pkgs/top-level/all-packages.nix+1−1
pkgs/development/compilers/rustc/1.0.0.nixdeleted−16
@@ -1,16 +0,0 @@
1−{ stdenv, callPackage }:
2−callPackage ./generic.nix {
3− shortVersion = "1.0.0";
4− isRelease = true;
5− srcSha = "14brziw91d3r88fa1kvpvhap5ws4z8h2mas7h6k9lpsc2zl9blak";
6− snapshotHashLinux686 = "1ef82402ed16f5a6d2f87a9a62eaa83170e249ec";
7− snapshotHashLinux64 = "ef2154372e97a3cb687897d027fd51c8f2c5f349";
8− snapshotHashDarwin686 = "0310b1a970f2da7e61770fd14dbbbdca3b518234";
9− snapshotHashDarwin64 = "5f35d9c920b8083a7420ef8cf5b00d5ef3085dfa";
10− snapshotDate = "2015-03-27";
11− snapshotRev = "5520801";
12− patches = [
13− ./patches/beta.patch
14− ] ++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch;
15− configureFlags = [ "--release-channel=stable" ];
16−}
pkgs/development/compilers/rustc/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ stdenv, callPackage }:
2+callPackage ./generic.nix {
3+ shortVersion = "1.1.0";
4+ isRelease = true;
5+ srcSha = "0lsfrclj5imxy6129ggya7rb2h04cgqq53f75z2jv40y5xk25sy8";
6+
7+ /* Rust is bootstrapped from an earlier built version. We need
8+ to fetch these earlier versions, which vary per platform.
9+ The shapshot info you want can be found at
10+ https://github.com/rust-lang/rust/blob/{$shortVersion}/src/snapshots.txt
11+ with the set you want at the top.
12+ */
13+
14+ # linux-i386
15+ snapshotHashLinux686 = "0bc8cffdce611fb71fd7d3d8e7cdbfaf748a4f16";
16+
17+ # linux-x86_64
18+ snapshotHashLinux64 = "94089740e48167c5975c92c139ae9c286764012f";
19+
20+ # macos-i386
21+ snapshotHashDarwin686 = "54cc35e76497e6e94fddf38d6e40e9d168491ddb";
22+
23+ # macos-x86_64
24+ snapshotHashDarwin64 = "43a1c1fba0d1dfee4c2ca310d506f8f5f51b3f6f";
25+
26+ snapshotDate = "2015-04-27";
27+ snapshotRev = "857ef6e";
28+
29+ patches = [
30+ ./patches/beta.patch
31+ ] ++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch;
32+ configureFlags = [ "--release-channel=stable" ];
33+}
pkgs/development/compilers/rustc/generic.nix+1−1
@@ -62,7 +62,7 @@ let version = if isRelease then
6262 meta = with stdenv.lib; {
6363 homepage = http://www.rust-lang.org/;
6464 description = "A safe, concurrent, practical language";
65− maintainers = with maintainers; [ madjar cstrahan wizeman globin ];
65+ maintainers = with maintainers; [ madjar cstrahan wizeman globin havvy ];
6666 license = [ licenses.mit licenses.asl20 ];
6767 platforms = platforms.linux;
6868 };
pkgs/top-level/all-packages.nix+1−1
@@ -4653,7 +4653,7 @@ let
46534653 };
46544654
46554655 rustcMaster = callPackage ../development/compilers/rustc/head.nix {};
4656− rustc = callPackage ../development/compilers/rustc/1.0.0.nix {};
4656+ rustc = callPackage ../development/compilers/rustc/default.nix {};
46574657
46584658 rustPlatform = rustStable;
46594659