moneydance: pin OpenJDK 23

This commit is contained in:
Emily 2024-09-24 17:51:28 +01:00
parent 092c108f77
commit 56d6fe1191

View File

@ -1,9 +1,7 @@
{ lib, stdenv, fetchzip, makeWrapper, openjdk22, openjfx22, jvmFlags ? [ ] }:
{ lib, stdenv, fetchzip, makeWrapper, openjdk23, jvmFlags ? [ ] }:
let
openjfx = openjfx22;
jdk = openjdk22.override {
jdk = openjdk23.override {
enableJavaFX = true;
inherit openjfx;
};
in
stdenv.mkDerivation (finalAttrs: {
@ -16,7 +14,7 @@ stdenv.mkDerivation (finalAttrs: {
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ jdk openjfx ];
buildInputs = [ jdk ];
# Note the double escaping in the call to makeWrapper. The escapeShellArgs
# call quotes each element of the flags list as a word[1] and returns a