diff options
author | Rob Vermaas <rob.vermaas@gmail.com> | 2010-11-22 14:32:43 +0000 |
---|---|---|
committer | Rob Vermaas <rob.vermaas@gmail.com> | 2010-11-22 14:32:43 +0000 |
commit | a2df7f46eae2b03a7b872d561ffe9d67493a0cb6 (patch) | |
tree | fcedd1eaed194901ad1d0787cca562ffb690ba0b /pkgs/development | |
parent | 1c86c832c1c02946216e8eb36c855073b6bde72e (diff) |
v8: no abort
svn path=/nixpkgs/trunk/; revision=24810
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/v8/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/v8/default.nix b/pkgs/development/libraries/v8/default.nix index 766b6f382683d..9e60f1ce8ba15 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 { |