New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adoptopenjdk-bin: init at 11 #48322
adoptopenjdk-bin: init at 11 #48322
Conversation
lib/licenses.nix
Outdated
@@ -309,6 +309,12 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec { | |||
fullName = "GNU General Public License v2.0 only"; | |||
}; | |||
|
|||
gpl2Classpath = { | |||
spdxId = "GPL-2.0 WITH Classpath-exception-2.0"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identifier should be GPL-2.0-with-classpath-exception
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
d484614
to
1cd3b26
Compare
1cd3b26
to
c89fb4a
Compare
Added Darwin packages. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Green on nixos-18.09
Result in /[...]/nox-review-7i4pr45u
total 0
lrwxrwxrwx 1 zzzz users 71 24 oct. 18:46 result -> /nix/store/dl1psv9krb2ma1pl5y7s8ll41w3fwbwq-adoptopenjdk-hotspot-bin-11
lrwxrwxrwx 1 zzzz users 75 24 oct. 18:46 result-2 -> /nix/store/md4fhdpizm40lqps9501p06kxj4714y3-adoptopenjdk-jre-hotspot-bin-11
lrwxrwxrwx 1 zzzz users 74 24 oct. 18:46 result-3 -> /nix/store/vijvm03n69sfb0g4p3ms7smpg45lp359-adoptopenjdk-jre-openj9-bin-11
lrwxrwxrwx 1 zzzz users 70 24 oct. 18:46 result-4 -> /nix/store/dqvq26h92j1yc1vzmzprdpwmqld27iqj-adoptopenjdk-openj9-bin-11
This is good to go right? |
LGTM I assume we have tried using this in say |
Motivation for this change
Oracle JDK 11 is not free of charge (except for development, testing, prototyping, or demonstration), and free users are guided to use OpenJDK 11.
openjdk11
package is in progress, but not building yet (#47375 (comment)).This PR add binary packages of AdoptOpenJDK, which includes combinations of JDK/JRE and Hotspot/OpenJ9 variants.
Only
x86_64-linux
is supported for now, though AdoptOpenJDK itself supports many platforms and architectures.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)