In NixOS 23.05 I used the following expression, as suggested in #215583:
# Add dependency of https://gubaer.github.io/josm-scripting-plugin/
josm.override {
jre = graalvm17-ce.override {
products = with graalvmCEPackages; [
js-installable-svm-java17
];
};
}
What is the equivalent expression in NixOS 23.11? The products input no longer exists and I’m not familiar enough with Java to understand what to do now.
Thanks! That pointed me in the right direction. It works to switch graaljs to its -jvm release which includes the required modules, and pass those to JOSM: