diff --git a/common.nix b/common.nix index cad9a1a..8ef02b0 100644 --- a/common.nix +++ b/common.nix @@ -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 diff --git a/flake.nix b/flake.nix index d4fbd04..344fe1b 100644 --- a/flake.nix +++ b/flake.nix @@ -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 <