java: added java support

This commit is contained in:
Tigor Hutasuhut 2024-11-18 20:10:08 +07:00
parent 31b8f59214
commit 6307717cb3

View file

@ -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.