Merge pull request #318742 from jlesquembre/jl/jdk-remove-let

openjdk22: remove redundant let binding
This commit is contained in:
Doron Behar 2024-06-17 21:25:21 +03:00 committed by GitHub
commit be3e244369
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,8 +59,9 @@ let
# when building a headless jdk, also bootstrap it with a headless jdk
openjdk-bootstrap = openjdk22-bootstrap.override { gtkSupport = !headless; };
in
openjdk = stdenv.mkDerivation (finalAttrs: {
stdenv.mkDerivation (finalAttrs: {
pname = "openjdk" + lib.optionalString headless "-headless";
inherit version;
@ -272,6 +273,4 @@ let
inherit gtk3;
};
});
in
openjdk
})