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
|
let
|
||||||
platform =
|
platform =
|
||||||
if stdenv.system == "i686-linux" then
|
if stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux" then
|
||||||
"Linux"
|
"Linux"
|
||||||
else if stdenv.system == "x86_64-linux" then
|
|
||||||
"Linux-x86-64"
|
|
||||||
else
|
else
|
||||||
throw "Mathematica requires i686-linux or x86_64 linux";
|
throw "Mathematica requires i686-linux or x86_64 linux";
|
||||||
in
|
in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user