|
|
@ -112,10 +112,14 @@ stdenv.mkDerivation rec { |
|
|
|
|
|
|
|
|
|
|
|
# Fix library paths |
|
|
|
# Fix library paths |
|
|
|
cd $out/libexec/${dirName}/Executables |
|
|
|
cd $out/libexec/${dirName}/Executables |
|
|
|
for path in MathKernel WolframKernel math mcc wolfram; do |
|
|
|
for path in MathKernel math mcc wolfram; do |
|
|
|
makeWrapper $out/libexec/${dirName}/Executables/$path $out/bin/$path --set LD_LIBRARY_PATH "${zlib}/lib:${stdenv.cc.cc.lib}/lib:${libssh2}/lib:\''${LD_LIBRARY_PATH}" |
|
|
|
makeWrapper $out/libexec/${dirName}/Executables/$path $out/bin/$path --set LD_LIBRARY_PATH "${zlib}/lib:${stdenv.cc.cc.lib}/lib:${libssh2}/lib:\''${LD_LIBRARY_PATH}" |
|
|
|
done |
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for path in WolframKernel wolframscript; do |
|
|
|
|
|
|
|
makeWrapper $out/libexec/${dirName}/SystemFiles/Kernel/Binaries/Linux-x86-64/$path $out/bin/$path --set LD_LIBRARY_PATH "${zlib}/lib:${stdenv.cc.cc.lib}/lib:${libssh2}/lib:\''${LD_LIBRARY_PATH}" |
|
|
|
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
# ... and xkeyboard config path for Qt |
|
|
|
# ... and xkeyboard config path for Qt |
|
|
|
for path in WolframPlayer wolframplayer; do |
|
|
|
for path in WolframPlayer wolframplayer; do |
|
|
|
makeWrapper $out/libexec/${dirName}/Executables/$path $out/bin/$path \ |
|
|
|
makeWrapper $out/libexec/${dirName}/Executables/$path $out/bin/$path \ |
|
|
|