diff options
author | Thiago Kenji Okada <thiagokokada@gmail.com> | 2023-09-26 13:03:23 +0100 |
---|---|---|
committer | Thiago Kenji Okada <thiagokokada@gmail.com> | 2023-09-27 10:25:44 +0100 |
commit | 45eff9d9c7dbd2a907da9e66518459e1f163153f (patch) | |
tree | 6ff2f7d463d01d9beaa9c56bfbb5123659f1b316 /pkgs/development/interpreters/babashka | |
parent | 3bab155d848b693afa302ba98f99ca091c02fddf (diff) |
graalvm-ce: 22.3.1 -> 21.0.0
This initially may look like a downgrade, but this is caused by how upstream is tagging versions. Before they would have the GraalVM having its own version (e.g. 22.3.1), and each version would support multiple JVM versions (e.g. 11, 17, 19). Now each release supports only one JVM version (e.g.: 21), and they track the same version as the JVM. They also changed packaging, making all sub-products (e.g.: GraalPy, GraalRuby, etc.) standalone, so they do not depend in GraalVM anymore and have their own version. Thanks to this change, we will need to repackage everything. To simplify, this commit will remove all sub-products and only care about the GraalVM/Native Image (that is back to GraalVM itself) part. Other commits will re-added each sub-product. Fix (partial): https://github.com/NixOS/nixpkgs/issues/257292
Diffstat (limited to 'pkgs/development/interpreters/babashka')
-rw-r--r-- | pkgs/development/interpreters/babashka/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/interpreters/babashka/default.nix b/pkgs/development/interpreters/babashka/default.nix index b7d78892103d5..1ae30244b2051 100644 --- a/pkgs/development/interpreters/babashka/default.nix +++ b/pkgs/development/interpreters/babashka/default.nix @@ -15,7 +15,7 @@ buildGraalvmNativeImage rec { sha256 = "sha256-O3pLELYmuuB+Bf1vHTWQ+u7Ymi3qYiMRpCwvEq+GeBQ="; }; - graalvmDrv = graalvmCEPackages.graalvm19-ce; + graalvmDrv = graalvmCEPackages.graalvm-ce; executable = "bb"; @@ -38,7 +38,7 @@ buildGraalvmNativeImage rec { # As of v1.2.174, this will remove references to ${graalvmDrv}/conf/chronology, # not sure the implications of this but this file is not available in - # graalvm19-ce anyway. + # graalvm-ce anyway. postInstall = '' remove-references-to -t ${graalvmDrv} $out/bin/${executable} ''; |