logstash: Use jre11 instead of unsupported jre15 default#116936
logstash: Use jre11 instead of unsupported jre15 default#116936SuperSandro2000 merged 3 commits intoNixOS:masterfrom
Conversation
|
Result of 4 packages built successfully:
2 suggestions:
Result of 4 packages built successfully:
2 suggestions:
|
pkgs/tools/misc/logstash/6.x.nix
Outdated
There was a problem hiding this comment.
Do you know by chance when this approach or overriding the input work jre is preferred?
There was a problem hiding this comment.
idk, how else would you do it?
There was a problem hiding this comment.
I typed a bit fast and did some typos. The alternative would be to assign jre11_headless to jre in top-level.nix for logstash.
There was a problem hiding this comment.
Right. I guess that would be easier to override.
9e663dd to
b07d040
Compare
|
This fix is ready for review. |
| with lib; | ||
|
|
||
| stdenv.mkDerivation rec { | ||
| let this = stdenv.mkDerivation rec { |
There was a problem hiding this comment.
I am not sure why we need the let in here. Do I miss something?
There was a problem hiding this comment.
It's for the assertion in passthru.tests.
Motivation for this change
Fix logstash and
nixosTests.elk.*Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)