jetbrains-jdk: inherit license and platforms from openjdk

This commit is contained in:
Atemu 2021-06-03 14:38:33 +02:00
parent 1c2986bbb8
commit e11cc89835

View file

@ -24,9 +24,8 @@ openjdk11.overrideAttrs (oldAttrs: rec {
your own risk. your own risk.
''; '';
homepage = "https://bintray.com/jetbrains/intellij-jdk/"; homepage = "https://bintray.com/jetbrains/intellij-jdk/";
license = licenses.gpl2; inherit (openjdk11.meta) license platforms;
maintainers = with maintainers; [ edwtjo petabyteboy ]; maintainers = with maintainers; [ edwtjo petabyteboy ];
platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" "armv7l-linux" "armv6l-linux" ];
}; };
passthru = oldAttrs.passthru // { passthru = oldAttrs.passthru // {
home = "${jetbrains.jdk}/lib/openjdk"; home = "${jetbrains.jdk}/lib/openjdk";