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
programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [
graalvm-ce
zlib.static
libGL
alsa-lib
expat

View file

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

View file

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

View file

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