mathematica: fix x86 build of mathematica

the MathInstaller doesn't distinguish between 64bit and 32bit linux
platforms.
This commit is contained in:
Jonas Hoersch 2013-11-02 18:05:16 +01:00 committed by Bjørn Forsman
parent eab39f9dda
commit 8487fdd209

View File

@ -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