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

@ -1,4 +1,4 @@
{:deps {org.clojure/clojure {:mvn/version "1.9.0"} {:deps {#_#_ org.clojure/clojure {:mvn/version "1.11.1"}
quil/quil {:mvn/version "3.1.0"} quil/quil {:mvn/version "3.1.0"}
thi.ng/geom {:mvn/version "1.0.0-RC3" thi.ng/geom {:mvn/version "1.0.0-RC3"
:exclusions [org.jogamp.jogl/jogl-all :exclusions [org.jogamp.jogl/jogl-all

11
flake.lock generated
View file

@ -2,12 +2,11 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1667514353, "lastModified": 1709703039,
"narHash": "sha256-zaYpmXs2gWh/KeFyNTcNKd0ibuWLvNV0S62fagVEnQs=", "narHash": "sha256-6hqgQ8OK6gsMu1VtcGKBxKQInRLHtzulDo9Z5jxHEFY=",
"owner": "NixOS", "path": "/nix/store/gig8j85kj7ybjy3ksn6k3aich8j2k59y-source",
"repo": "nixpkgs", "rev": "9df3e30ce24fd28c7b3e2de0d986769db5d6225d",
"rev": "45b546681874b344a53bdeb01bd41f13a5cfeba0", "type": "path"
"type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",

View file

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