prever gradle 9

This commit is contained in:
Gregor Lohaus
2026-05-27 15:48:37 +02:00
parent 332f4d7b3b
commit 447b02af6c
2 changed files with 226 additions and 2 deletions

View File

@@ -13,6 +13,7 @@
jlib = jlibghostty.packages.${system}.jlibghostty;
graalvm = pkgs.graalvmPackages.graalvm-ce;
gradle = if pkgs ? gradle_9 then pkgs.gradle_9 else pkgs.gradle;
in {
packages.${system}.default = pkgs.stdenvNoCC.mkDerivation {
pname = "jprototerm";
@@ -21,7 +22,7 @@
nativeBuildInputs = [
graalvm
pkgs.gradle
gradle
pkgs.makeWrapper
];
@@ -34,6 +35,7 @@
gradle \
--no-daemon \
--stacktrace \
-PjlibghosttyMavenRepo=${jlib}/maven \
nativeCompile
@@ -57,7 +59,7 @@
devShells.${system}.default = pkgs.mkShell {
packages = [
graalvm
pkgs.gradle
gradle
pkgs.util-linux
];