From a2df7f46eae2b03a7b872d561ffe9d67493a0cb6 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Mon, 22 Nov 2010 14:32:43 +0000 Subject: [PATCH] v8: no abort svn path=/nixpkgs/trunk/; revision=24810 --- pkgs/development/libraries/v8/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/v8/default.nix b/pkgs/development/libraries/v8/default.nix index 766b6f382683..9e60f1ce8ba1 100644 --- a/pkgs/development/libraries/v8/default.nix +++ b/pkgs/development/libraries/v8/default.nix @@ -2,8 +2,9 @@ let system = stdenv.system; - arch = if system == "i686-linux" then "ia32" else if system == "x86_64-linux" then "x64" else abort "not supported"; + arch = if system == "i686-linux" then "ia32" else if system == "x86_64-linux" then "x64" else ""; in +assert system == "i686-linux" || system == "x86_64-linux"; stdenv.mkDerivation rec { name = "v8-r${toString src.rev}"; src = fetchsvn {