Default 'jdk' and 'jre' to openjdk and openjre, respectively, on supporting systems#116
Merged
shlevy merged 1 commit intoNixOS:masterfrom Aug 27, 2012
Merged
Conversation
Member
|
Yay! Great to have legal Java support after so many years :-) |
edolstra
pushed a commit
to edolstra/nixpkgs
that referenced
this pull request
Oct 1, 2013
Add /run/nss to LD_LIBRARY_PATH
12 tasks
modulitos
pushed a commit
to modulitos/nixpkgs
that referenced
this pull request
Nov 24, 2024
license nixpkgs-update under CC0-1.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With this change, java packages will build with openjdk by default. The primary driver for this is legal: The build farm is not allowed to distribute the proprietary Oracle jdk6, and so it is not allowed to distribute any packages that depend on it. In my view, this is a purely beneficial change: from the perspective of the build farm, packages will go from undistributable due to licensing to either distributable or undistributable due to failed build (if the package doesn't build properly with openjdk), and from the perspective of the end user it is very easy to override the jdk on a package-by-package basis or for all of nixpkgs in the nixpkgs configuration.