fix clojure dep

this caused nrepl completion to crash
This commit is contained in:
arne 2024-04-11 14:16:18 +02:00
commit 902ae2fc45
3 changed files with 9 additions and 9 deletions

View file

@ -4,7 +4,7 @@
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
pkgs = import nixpkgs { inherit system; };
lib = pkgs.lib;
in {
devShell.${system} = pkgs.mkShell rec {
@ -12,7 +12,7 @@
buildInputs = with pkgs; [
xorg_sys_opengl
xorg.libXxf86vm
# xwayland
xwayland
clojure
];
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
@ -27,6 +27,7 @@
# also, there's a bug that is avoided with the variable
# https://github.com/processing/processing/issues/5476
JAVA_OPTS = "-Djogl.disable.openglcore=false";
# XDG_SESSION_TYPE = "wayland";
# LIBGL_ALWAYS_SOFTWARE = true; # ← this is the same as passing -Djogl.disable.openglcore="true"
};
};