nixpkgs/pkgs/applications/networking/instant-messengers/signald
Maximilian Bosch e78bdc683c
signald: reduce closure size by switching to a custom JRE bundle
This effectively reduces the size of the runtime closure by ~79%:

    $ nix path-info ./result-old -Sh
    /nix/store/9ggmj6fmqszfvd0lg2im7qssscql0jac-signald-0.15.0	 729.0M
    $ nix path-info ./result -Sh
    /nix/store/z9bfj547j9fkyl8g0mqb1n108s7zw4w5-signald-0.15.0	 155.2M

Similar change as 2f9426ad83: newer Java
versions don't support a "traditional" JRE anymore, but it's possible to
create dedicated runtime environments using `jlink`[1].

[1] https://medium.com/azulsystems/using-jlink-to-build-java-runtimes-for-non-modular-applications-9568c5e70ef4

Closes #150493
2022-05-20 14:49:34 +02:00
..
0001-Fetch-buildconfig-during-gradle-build-inside-Nix-FOD.patch signald: 0.17.0 -> 0.18.5 2022-05-20 14:46:45 +02:00
0002-buildconfig-local-deps-fixes.patch signald: 0.17.0 -> 0.18.5 2022-05-20 14:46:45 +02:00
default.nix signald: reduce closure size by switching to a custom JRE bundle 2022-05-20 14:49:34 +02:00