about summary refs log tree commit diff stats
path: root/nix-conf
diff options
context:
space:
mode:
Diffstat (limited to 'nix-conf')
-rw-r--r--nix-conf/home/includes/clojure.nix5
-rw-r--r--nix-conf/home/otm.nix2
2 files changed, 5 insertions, 2 deletions
diff --git a/nix-conf/home/includes/clojure.nix b/nix-conf/home/includes/clojure.nix
index 85bd261..a942a90 100644
--- a/nix-conf/home/includes/clojure.nix
+++ b/nix-conf/home/includes/clojure.nix
@@ -13,11 +13,12 @@ in
     [
       babashka
       clj-kondo
-      clojure
       clojure-lsp
       jet
       maven
       neil
     ]
-    ++ optionals stdenv.isLinux [ leiningen ];
+    # TODO these are here because of the custom versions in otm.nix
+    # but there should be a better way
+    ++ optionals stdenv.isLinux [ leiningen clojure ];
 }
diff --git a/nix-conf/home/otm.nix b/nix-conf/home/otm.nix
index 67dab1e..df85b9a 100644
--- a/nix-conf/home/otm.nix
+++ b/nix-conf/home/otm.nix
@@ -113,6 +113,7 @@ let
   });
 
   zscaler-lein = pkgs.leiningen.override { jdk = zscaler-jdk; };
+  zscaler-clojure = pkgs.clojure.override { jdk = zscaler-jdk; };
 
   toggle = pkgs.writeShellScriptBin "remote-toggle" ''
     ssh -nT pi "playerctl play-pause" 2>/dev/null
@@ -151,6 +152,7 @@ in
   };
 
   home.packages = with pkgs; [
+    zscaler-clojure
     zscaler-lein
     toggle
   ];