From 8487fdd2091953e626a9f560e34359973352b482 Mon Sep 17 00:00:00 2001 From: Jonas Hoersch Date: Sat, 2 Nov 2013 18:05:16 +0100 Subject: [PATCH] mathematica: fix x86 build of mathematica the MathInstaller doesn't distinguish between 64bit and 32bit linux platforms. --- pkgs/applications/science/math/mathematica/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/applications/science/math/mathematica/default.nix b/pkgs/applications/science/math/mathematica/default.nix index cedb491cc8b..997080ee303 100644 --- a/pkgs/applications/science/math/mathematica/default.nix +++ b/pkgs/applications/science/math/mathematica/default.nix @@ -18,10 +18,8 @@ let platform = - if stdenv.system == "i686-linux" then + if stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux" then "Linux" - else if stdenv.system == "x86_64-linux" then - "Linux-x86-64" else throw "Mathematica requires i686-linux or x86_64 linux"; in