From c7d42e59c0810be0d7c0b5083da55873ef77b8f9 Mon Sep 17 00:00:00 2001 From: arne Date: Mon, 14 Jun 2021 14:01:22 +0200 Subject: [PATCH] =?UTF-8?q?Ugh=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/shell.nix b/shell.nix index 4833549..2ed3db0 100644 --- a/shell.nix +++ b/shell.nix @@ -17,10 +17,8 @@ in pkgs.mkShell rec { _JAVA_AWT_WM_NONREPARENTING = "1"; # we need to make sure the library is on the path for JOGL; - # also, there's a bug that is avoided with the second config line + # also, there's a bug that is avoided with the variable # https://github.com/processing/processing/issues/5476 - JAVA_OPTS = "-Djava.library.path=${lib.makeLibraryPath buildInputs}"; - # -Djogl.disable.openglcore=\"true\" - # LIBGL_ALWAYS_SOFTWARE = true; - # JAVA_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}"; + JAVA_OPTS = "-Djava.library.path=${lib.makeLibraryPath buildInputs}"; + LIBGL_ALWAYS_SOFTWARE = true; # ← this is the same as passing -Djogl.disable.openglcore="true" }