Unverified Commit 4b21d11c authored by Artturi's avatar Artturi Committed by GitHub
Browse files

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

parents 7a5f0e94 f06600f9
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -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";
    license = licenses.gpl2Only;
    description = "Amazon's distribution of OpenJDK";
    platforms = jdk.meta.platforms;
    mainProgram = "java";
    maintainers = with maintainers; [ rollf ];
  };
})