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 {