From a1f76142b48396ca96c192274da6036e37e63334 Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Fri, 26 Sep 2014 02:21:27 +0200 Subject: [PATCH] cargoSnapshot: Fix evaluation error when building tarball --- pkgs/development/tools/build-managers/cargo/common.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/build-managers/cargo/common.nix b/pkgs/development/tools/build-managers/cargo/common.nix index f921a5ac81a..e60efc18d29 100644 --- a/pkgs/development/tools/build-managers/cargo/common.nix +++ b/pkgs/development/tools/build-managers/cargo/common.nix @@ -11,7 +11,7 @@ rec { then "i686-apple-darwin" else if stdenv.system == "x86_64-darwin" then "x86_64-apple-darwin" - else abort "no snapshot to boostrap for this platform (missing platform url suffix)"; + else throw "no snapshot to boostrap for this platform (missing platform url suffix)"; snapshotHash = if stdenv.system == "i686-linux" then "c92895421e6fa170dbd713e74334b8c3cf22b817" @@ -21,7 +21,7 @@ rec { then "e2364b1f1ece338b9fc4c308c472fc2413bff04e" else if stdenv.system == "x86_64-darwin" then "09f92f06ab4f048acf71d83dc0426ff1509779a9" - else abort "no snapshot for platform ${stdenv.system}"; + else throw "no snapshot for platform ${stdenv.system}"; snapshotDate = "2014-09-19"; snapshotName = "cargo-nightly-${platform}.tar.gz";