mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 22:06:00 +03:00
nixos/subsonic: use jre8
The latest version of Subsonic (6.1.6) does not suport Java SE 9 or later because it depends on the JAXB APIs. Those are considered to be Java EE APIs are no longer contained on the default classpath in Java SE 9 and are completely removed in Java SE 11..
This commit is contained in:
parent
2fffa3e668
commit
14c5fe8c1b
@ -109,7 +109,7 @@ let cfg = config.services.subsonic; in {
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
script = ''
|
||||
${pkgs.jre}/bin/java -Xmx${toString cfg.maxMemory}m \
|
||||
${pkgs.jre8}/bin/java -Xmx${toString cfg.maxMemory}m \
|
||||
-Dsubsonic.home=${cfg.home} \
|
||||
-Dsubsonic.host=${cfg.listenAddress} \
|
||||
-Dsubsonic.port=${toString cfg.port} \
|
||||
|
Loading…
Reference in New Issue
Block a user