Skip to content

squirrel-sql: Use jdk17 instead of jre#263758

Closed
Mr-Andersen wants to merge 1 commit intoNixOS:masterfrom
Mr-Andersen:master
Closed

squirrel-sql: Use jdk17 instead of jre#263758
Mr-Andersen wants to merge 1 commit intoNixOS:masterfrom
Mr-Andersen:master

Conversation

@Mr-Andersen
Copy link
Contributor

@Mr-Andersen Mr-Andersen commented Oct 27, 2023

Description of changes

Depend on jdk17 instead of jre

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot requested a review from khumba October 27, 2023 11:28
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Oct 27, 2023
@yu-re-ka
Copy link
Contributor

Hi, please provide a reasoning for this change. As I see it, jre is already pointing to JDK 19, so this is a downgrade.

@Mr-Andersen
Copy link
Contributor Author

@yu-re-ka ohh sorry, I forgot. squirell-sql refuses to run with JVM >17.
image

@yu-re-ka
Copy link
Contributor

yu-re-ka commented Oct 27, 2023

Please open a new PR targeting the release-23.05 branch.

On nixos-unstable this problem does not exist, because squirrel-sql 4.6.0 supports up to JDK 20.

@khumba
Copy link
Contributor

khumba commented Oct 28, 2023

Hey,

For backporting, another option could be to apply the fix to the launcher script in the PR here[1], then pulling in an additional JVM isn't needed. That PR was closed because 4.6.0 got released quickly, but it should work on NixOS 23.05. Up to you, and thanks.

[1] #235096

@Mr-Andersen
Copy link
Contributor Author

If it works on unstable, than it's not important

@Mr-Andersen Mr-Andersen closed this Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants