Skip to content
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

jdk8: Allow selection of specific update+build #21392

Closed
wants to merge 3 commits into from

Conversation

spacekitteh
Copy link
Contributor

Motivation for this change

To be able to work around specific bugs.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link

@spacekitteh, thanks for your PR! By analyzing the history of the files in this pull request, we identified @obadz, @NeQuissimus and @wkennington to be potential reviewers.

, jdksha ? "1kw4h3j93cvnlzh0vhj4xxdm90bk7hfg6kpqk09x0a12whh2ww3h"
, jaxwssha ? "0wrj3jyv3922m3pxfg0i9c3ap71b0rass7swvhi996c029rd12r7"
, jaxpsha ? "0b743mygzdavdd59l98b3l6a03dihs4ipd1xlpkacy778wzpr59d"
, nashornsha ? "10wkshhzj15wvx7i53dbkwi85f4fbbxi26zphr5b6daf3ib0hind"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do these versions belong together? It's probably a bit nicer to put all these in an attribute set, if it doesn't really make sense to override them separately.

It would also make it easier to add a fetchOpenJDK helper function.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for an attribute set with well known update-build pair and a default value on the latest.

Attribute set could be like :

supportedBuilds = {
"u122b4" = { 
    update = "122", build = "04",
    jdk8sha = "", langtoolssha ? "0hhsm23mxvjxmf0jxlhm57s203k88s8xbmk71l8zlnjsz88ni4gx", ...
},
u122b3 = {
    update = "122", build = "03",
    jdk8sha = "", langtoolssha = "", ...
},
}

@spacekitteh
Copy link
Contributor Author

My motivation for this has been removed. If anyone wants to do this they can, but I have no reason to anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants