mirror of
https://git.adityakumar.xyz/nix-matlab.git
synced 2024-11-09 16:19:45 +00:00
Fix java errors
This commit is contained in:
parent
11817b35d1
commit
b0c0f590ac
1 changed files with 1 additions and 2 deletions
|
@ -15,10 +15,9 @@
|
||||||
targetPkgs = import ./common.nix;
|
targetPkgs = import ./common.nix;
|
||||||
# TODO: Make it possible to override this - imperatively or declaratively?
|
# TODO: Make it possible to override this - imperatively or declaratively?
|
||||||
defaultRunPath = "$HOME/downloads/software/matlab/installation";
|
defaultRunPath = "$HOME/downloads/software/matlab/installation";
|
||||||
# TODO: This doesn't work - matlab is unusable
|
|
||||||
runScriptPrefix = ''
|
runScriptPrefix = ''
|
||||||
#!${pkgs.bash}/bin/bash
|
#!${pkgs.bash}/bin/bash
|
||||||
export MATLAB_JAVA=/usr/lib/openjdk
|
# Needed for simulink even on wayland systems
|
||||||
export QT_QPA_PLATFORM=xcb
|
export QT_QPA_PLATFORM=xcb
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
|
|
Loading…
Reference in a new issue