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

metabase: use jdk11 #109832

Merged
merged 1 commit into from Jan 19, 2021
Merged

metabase: use jdk11 #109832

merged 1 commit into from Jan 19, 2021

Conversation

raboof
Copy link
Member

@raboof raboof commented Jan 18, 2021

Motivation for this change

jdk15 doesn't work, metabase/metabase#13881

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@SuperSandro2000
Copy link
Member

Please replace the jre in metabase with jdk11 instead.

@raboof
Copy link
Member Author

raboof commented Jan 18, 2021

Please replace the jre in metabase with jdk11 instead.

While I see some advantage of specifying the version inside the package, there is also an advantage of specifying it in all-packages.nix.

There are many other packages that specify the jre/jdk version like this in all-packages.nix, and also when this topic was recently discussed (https://discourse.nixos.org/t/package-version-arguments-vs-generic-package-arguments/9071) there was no clear preference.

I'll make the change, but I don't like adding extra round-trips to PR's like this. It discourages contributions without good reason IMHO.

@SuperSandro2000
Copy link
Member

SuperSandro2000 commented Jan 18, 2021

Please replace the jre in metabase with jdk11 instead.

While I see some advantage of specifying the version inside the package, there is also an advantage of specifying it in all-packages.nix.

There are many other packages that specify the jre/jdk version like this in all-packages.nix, and also when this topic was recently discussed (discourse.nixos.org/t/package-version-arguments-vs-generic-package-arguments/9071) there was no clear preference.

I'll make the change, but I don't like adding extra round-trips to PR's like this. It discourages contributions without good reason IMHO.

Good to know that and good reason. If we follow that discussion we would need to replace jre with jdk. My main problem was with replacing jre with jdk which is not intuitiv.

But This should be fine right now.

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 109832 run on x86_64-linux 1

1 package built:
  • metabase

@SuperSandro2000 SuperSandro2000 merged commit f5a2a02 into NixOS:master Jan 19, 2021
@kidd kidd mentioned this pull request Jan 19, 2021
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants