From 6307717cb37a080ca252079ce180e4e8a64d8483 Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Mon, 18 Nov 2024 20:10:08 +0700 Subject: [PATCH] java: added java support --- home/programs/java.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/home/programs/java.nix b/home/programs/java.nix index 3df0344..bfef9ae 100644 --- a/home/programs/java.nix +++ b/home/programs/java.nix @@ -17,7 +17,10 @@ in config = mkIf cfg.enable { # This registers lombok jar to the Java classpath # https://github.com/NixOS/nixpkgs/blob/689fed12a013f56d4c4d3f612489634267d86529/pkgs/development/libraries/java/lombok/default.nix#L21 - home.packages = [ pkgs.lombok ]; + home.packages = [ + pkgs.lombok + pkgs.jdt-language-server + ]; # This one adds the lombok jar to the session variables so programs # can find it if they cannot find it in the classpath.