Merge pull request #272226 from rollf/fix-corretto-meta.position

This commit is contained in:
Artturi 2023-12-05 18:05:19 +02:00 committed by GitHub
commit 4b21d11c50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,12 +104,14 @@ jdk.overrideAttrs (finalAttrs: oldAttrs: {
}; };
}; };
meta = with lib; {
# Some of the OpenJDK derivation set their `pos` by hand. We need to
# overwrite this in order to point to Corretto, not OpenJDK.
pos = __curPos;
meta = with lib; oldAttrs.meta // {
homepage = "https://aws.amazon.com/corretto"; homepage = "https://aws.amazon.com/corretto";
license = licenses.gpl2Only; license = licenses.gpl2Only;
description = "Amazon's distribution of OpenJDK"; description = "Amazon's distribution of OpenJDK";
platforms = jdk.meta.platforms;
mainProgram = "java";
maintainers = with maintainers; [ rollf ]; maintainers = with maintainers; [ rollf ];
}; };
}) })