git.iko.soy/typeable/nixpkgs
on master help sign in
cargoSnapshot: 2015-04-02 -> 2015-06-17, hide from nix-env

Update snapshot to avoid rust-lang/cargo#976, which otherwise breaks the build. Also move the `cargoSnapshot` derivation inside a set in pkgs/top-level/all-packages.nix in order to hide the `cargo-snapshot` packages from `nix-env -qa`, since it's only used to build the `cargo` package.

commite6ee86b9410dd5e3e081c7ce6ba316bd216bc240 authorRobert Irelan <rirelan@gmail.com> dateTue 7 Jul 2015, 08:29 (11 years ago) parentcf2f3f6
2 files changed+9−7
pkgs/development/tools/build-managers/cargo/snapshot.nix+5−5 pkgs/top-level/all-packages.nix+4−2
pkgs/development/tools/build-managers/cargo/snapshot.nix+5−5
@@ -2,19 +2,19 @@
22
33/* Cargo binary snapshot */
44
5−let snapshotDate = "2015-04-02";
5+let snapshotDate = "2015-06-17";
66in
77
88with ((import ./common.nix) { inherit stdenv; version = "snapshot-${snapshotDate}"; });
99
1010let snapshotHash = if stdenv.system == "i686-linux"
11− then "ba6c162680d5509d89ba2363d7cae2047f40c034"
11+ then "g2h9l35123r72hqdwayd9h79kspfb4y9"
1212 else if stdenv.system == "x86_64-linux"
13− then "94f715c9a52809a639f2ce6f8b1d5215a0c272b5"
13+ then "fnx2rf1j8zvrplcc7xzf89czn0hf3397"
1414 else if stdenv.system == "i686-darwin"
15− then "cf333f16f89bfd50e8ce461c6f81ca30d33f7f73"
15+ then "3viz3fi2jx18qjwrc90nfhm9cik59my6"
1616 else if stdenv.system == "x86_64-darwin"
17− then "1f7008a6ec860e2bc7580e71bdf320ac518ddeb8"
17+ then "h2bf3db4vwz5cjjkn98lxayivdc6dflp"
1818 else throw "no snapshot for platform ${stdenv.system}";
1919 snapshotName = "cargo-nightly-${platform}.tar.gz";
2020in
pkgs/top-level/all-packages.nix+4−2
@@ -4661,7 +4661,7 @@ let
46614661 rustUnstable = recurseIntoAttrs (makeRustPlatform rustcMaster cargo rustUnstable);
46624662
46634663 # rust platform to build cargo itself (with cargoSnapshot)
4664− rustCargoPlatform = makeRustPlatform rustc cargoSnapshot rustCargoPlatform;
4664+ rustCargoPlatform = makeRustPlatform rustc cargoSnapshot.cargo rustCargoPlatform;
46654665
46664666 makeRustPlatform = rustc: cargo: self:
46674667 let
@@ -5316,7 +5316,9 @@ let
53165316 rustPlatform = rustCargoPlatform;
53175317 };
53185318
5319− cargoSnapshot = callPackage ../development/tools/build-managers/cargo/snapshot.nix { };
5319+ cargoSnapshot = {
5320+ cargo = callPackage ../development/tools/build-managers/cargo/snapshot.nix { };
5321+ };
53205322
53215323 casperjs = callPackage ../development/tools/casperjs { };
53225324