mathematica: fix x86 build of mathematica
the MathInstaller doesn't distinguish between 64bit and 32bit linux platforms.
This commit is contained in:
parent
eab39f9dda
commit
8487fdd209
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user