mathematica: 12.0.0 -> 12.1.0
This commit is contained in:
parent
439f083931
commit
d2702c915f
@ -9,6 +9,7 @@
|
|||||||
, freetype
|
, freetype
|
||||||
, gcc
|
, gcc
|
||||||
, glib
|
, glib
|
||||||
|
, libssh2
|
||||||
, ncurses
|
, ncurses
|
||||||
, opencv
|
, opencv
|
||||||
, openssl
|
, openssl
|
||||||
@ -44,9 +45,11 @@ stdenv.mkDerivation rec {
|
|||||||
gcc.cc
|
gcc.cc
|
||||||
gcc.libc
|
gcc.libc
|
||||||
glib
|
glib
|
||||||
|
libssh2
|
||||||
ncurses
|
ncurses
|
||||||
opencv
|
opencv
|
||||||
openssl
|
openssl
|
||||||
|
stdenv.cc.cc.lib
|
||||||
unixODBC
|
unixODBC
|
||||||
xkeyboard_config
|
xkeyboard_config
|
||||||
libxml2
|
libxml2
|
||||||
@ -93,7 +96,7 @@ stdenv.mkDerivation rec {
|
|||||||
# Fix library paths
|
# Fix library paths
|
||||||
cd $out/libexec/Mathematica/Executables
|
cd $out/libexec/Mathematica/Executables
|
||||||
for path in mathematica MathKernel Mathematica WolframKernel wolfram math; do
|
for path in mathematica MathKernel Mathematica WolframKernel wolfram math; do
|
||||||
sed -i -e "2iexport LD_LIBRARY_PATH=${zlib}/lib:\''${LD_LIBRARY_PATH}\n" $path
|
sed -i -e "2iexport LD_LIBRARY_PATH=${zlib}/lib:${stdenv.cc.cc.lib}/lib:${libssh2}/lib:\''${LD_LIBRARY_PATH}\n" $path
|
||||||
done
|
done
|
||||||
|
|
||||||
# Fix xkeyboard config path for Qt
|
# Fix xkeyboard config path for Qt
|
||||||
@ -102,7 +105,7 @@ stdenv.mkDerivation rec {
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Remove some broken libraries
|
# Remove some broken libraries
|
||||||
rm $out/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/libz.so*
|
rm -f $out/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/libz.so*
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
|
@ -7,6 +7,12 @@
|
|||||||
let allVersions = with lib; flip map
|
let allVersions = with lib; flip map
|
||||||
# N.B. Versions in this list should be ordered from newest to oldest.
|
# N.B. Versions in this list should be ordered from newest to oldest.
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
version = "12.1.0";
|
||||||
|
lang = "en";
|
||||||
|
language = "English";
|
||||||
|
sha256 = "15m9l20jvkxh5w6mbp81ys7mx2lx5j8acw5gz0il89lklclgb8z7";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
version = "12.0.0";
|
version = "12.0.0";
|
||||||
lang = "en";
|
lang = "en";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user