mirror of
https://git.adityakumar.xyz/nix-matlab.git
synced 2024-11-10 00:29:45 +00:00
Fix libGL.so.1 issue of Matlab 2022a, addresses #4
This commit is contained in:
parent
cb23bb048b
commit
98e56e744c
1 changed files with 3 additions and 0 deletions
|
@ -98,6 +98,9 @@
|
|||
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