diff options
Diffstat (limited to 'nix-conf/home/includes/clojure.nix')
-rw-r--r-- | nix-conf/home/includes/clojure.nix | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/nix-conf/home/includes/clojure.nix b/nix-conf/home/includes/clojure.nix index 3681e8b..3915ab3 100644 --- a/nix-conf/home/includes/clojure.nix +++ b/nix-conf/home/includes/clojure.nix @@ -1,18 +1,25 @@ -{ config, pkgs, lib, isDarwin, isLinux, ... }: +{ + config, + pkgs, + lib, + ... +}: let inherit (lib) optionals; in { - home.packages = with pkgs; [ - babashka - clj-kondo - clojure - clojure-lsp - jet - maven - neil - ] - ++ optionals stdenv.isDarwin [ (leiningen.override { jdk = jdk8; }) ] - ++ optionals stdenv.isLinux [ leiningen ]; + home.packages = + with pkgs; + [ + babashka + clj-kondo + clojure-lsp + emacs-lsp-booster + jet + maven + neil + ] + # TODO these are here because of the custom versions in otm.nix + # but there should be a better way + ++ optionals stdenv.isLinux [ leiningen clojure ]; } - |