summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/search/solr.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/search/solr.nix')
-rw-r--r--nixos/modules/services/search/solr.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/search/solr.nix b/nixos/modules/services/search/solr.nix
index 38d9dedbe3cf..7886d1e2e8e6 100644
--- a/nixos/modules/services/search/solr.nix
+++ b/nixos/modules/services/search/solr.nix
@@ -22,7 +22,7 @@ let
cp common/lib/*.jar $out/lib/
ln -s ${pkgs.ant}/lib/ant/lib/ant.jar $out/lib/
ln -s ${cfg.solrPackage}/lib/ext/* $out/lib/
- ln -s ${pkgs.openjdk}/lib/openjdk/lib/tools.jar $out/lib/
+ ln -s ${pkgs.jdk.home}/lib/tools.jar $out/lib/
'' + optionalString (cfg.extraJars != []) ''
for f in ${concatStringsSep " " cfg.extraJars}; do
cp $f $out/lib
@@ -44,7 +44,7 @@ in {
javaPackage = mkOption {
type = types.package;
- default = pkgs.openjre;
+ default = pkgs.jre;
description = ''
Which Java derivation to use for running solr.
'';