Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mathematica: fix libQt errors #100056

Merged
merged 1 commit into from Oct 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions pkgs/applications/science/math/mathematica/default.nix
Expand Up @@ -3,6 +3,7 @@
, patchelf
, requireFile
, callPackage
, makeWrapper
, alsaLib
, dbus
, fontconfig
Expand Down Expand Up @@ -37,6 +38,7 @@ stdenv.mkDerivation rec {
buildInputs = [
coreutils
patchelf
makeWrapper
alsaLib
coreutils
dbus
Expand Down Expand Up @@ -106,6 +108,9 @@ stdenv.mkDerivation rec {

# Remove some broken libraries
rm -f $out/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/libz.so*

# Set environment variable to fix libQt errors - see https://github.com/NixOS/nixpkgs/issues/96490
wrapProgram $out/bin/mathematica --set USE_WOLFRAM_LD_LIBRARY_PATH 1
'';

preFixup = ''
Expand Down