From b0c0f590ac79bb4a0b35686e90a31a474afc7e19 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Sat, 15 May 2021 09:16:13 +0300 Subject: [PATCH] Fix java errors --- flake.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 2ab6170..c6869a6 100644 --- a/flake.nix +++ b/flake.nix @@ -15,10 +15,9 @@ targetPkgs = import ./common.nix; # TODO: Make it possible to override this - imperatively or declaratively? defaultRunPath = "$HOME/downloads/software/matlab/installation"; - # TODO: This doesn't work - matlab is unusable runScriptPrefix = '' #!${pkgs.bash}/bin/bash - export MATLAB_JAVA=/usr/lib/openjdk + # Needed for simulink even on wayland systems export QT_QPA_PLATFORM=xcb ''; in {