i love java

This commit is contained in:
sadan 2024-12-11 19:20:06 -05:00
parent 6496365511
commit 18c9fb4b5e
No known key found for this signature in database
4 changed files with 26 additions and 5 deletions

View file

@ -62,6 +62,8 @@
#LD fix #LD fix
programs.nix-ld.enable = true; programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [ programs.nix-ld.libraries = with pkgs; [
graalvm-ce
zlib.static
libGL libGL
alsa-lib alsa-lib
expat expat

View file

@ -3,7 +3,8 @@
packages = with pkgs; [ packages = with pkgs; [
meson meson
cmake cmake
clang # clang
libgcc
glib glib
glibc glibc
unstable.llvmPackages_19.clang-tools unstable.llvmPackages_19.clang-tools
@ -15,4 +16,4 @@
}; };
}; };
}; };
} }

View file

@ -2,7 +2,9 @@
home = { home = {
packages = with pkgs; [ packages = with pkgs; [
gnumake gnumake
binutils
linuxHeaders linuxHeaders
man-pages
]; ];
}; };
} }

View file

@ -1,12 +1,28 @@
{ pkgs, ... }: { { pkgs, ... }:
let
g = (pkgs.gradle.override {
javaToolchains = [ pkgs.graalvm-ce ];
});
in
{
imports = [ imports = [
./ide/jb/idea.nix ./ide/jb/idea.nix
./ide/jb/androidStudio.nix ./ide/jb/androidStudio.nix
]; ];
home = { home = {
sessionVariables = {
GRAALVM_HOME = "${pkgs.graalvm-ce}";
};
file = {
gradleIntellij = {
source = "${pkgs.graalvm-ce}";
target = ".local/graalvm";
};
};
packages = with pkgs; [ packages = with pkgs; [
gradle
jadx jadx
g
kotlin
]; ];
}; };
programs = { programs = {