mirror of
https://git.adityakumar.xyz/nix-matlab.git
synced 2024-11-09 16:19:45 +00:00
Properly fix libGL.so.1 issue - thanks to comment from #4
This commit is contained in:
parent
be0d56a218
commit
27343e2e62
2 changed files with 3 additions and 3 deletions
|
@ -48,6 +48,9 @@ pkgs:
|
|||
# Keyboard input may not work in simulink otherwise
|
||||
libxkbcommon
|
||||
xkeyboard_config
|
||||
|
||||
# Needed since 2022a
|
||||
libglvnd
|
||||
]) ++ (with pkgs.xorg; [
|
||||
libSM
|
||||
libX11
|
||||
|
|
|
@ -131,9 +131,6 @@
|
|||
name = "matlab-shell";
|
||||
inherit targetPkgs;
|
||||
runScript = shellHooksCommon + ''
|
||||
# Needed only for installation from some reason, see:
|
||||
# https://discourse.nixos.org/t/a-non-nixos-linux-binary-matlab-requires-libgl-so-1-twice/18379/2
|
||||
export LD_PRELOAD=${pkgs.libglvnd}/lib/libGL.so.1
|
||||
cat <<EOF
|
||||
============================
|
||||
welcome to nix-matlab shell!
|
||||
|
|
Loading…
Reference in a new issue