mathematica: fix x86 build of mathematica

the MathInstaller doesn't distinguish between 64bit and 32bit linux
platforms.
wip/yesman
Jonas Hoersch 11 years ago committed by Bjørn Forsman
parent eab39f9dda
commit 8487fdd209
  1. 4
      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

Loading…
Cancel
Save