summary refs log tree commit diff
path: root/nixos/modules/services/search/solr.nix
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2015-01-01 15:49:20 -0800
committerWilliam A. Kennington III <william@wkennington.com>2015-01-07 14:55:41 -0800
commitc82410eeda78deb3afe898168700772d53361985 (patch)
tree1f7be826db3a134ad4fa765077fcdc93bab98d9f /nixos/modules/services/search/solr.nix
parentbbc4262514107fd6658696ddebfeba7071ac17b1 (diff)
downloadnixpkgs-c82410eeda78deb3afe898168700772d53361985.tar
nixpkgs-c82410eeda78deb3afe898168700772d53361985.tar.gz
nixpkgs-c82410eeda78deb3afe898168700772d53361985.tar.bz2
nixpkgs-c82410eeda78deb3afe898168700772d53361985.tar.lz
nixpkgs-c82410eeda78deb3afe898168700772d53361985.tar.xz
nixpkgs-c82410eeda78deb3afe898168700772d53361985.tar.zst
nixpkgs-c82410eeda78deb3afe898168700772d53361985.zip
java: Normalize to the default jre / jdk
Diffstat (limited to 'nixos/modules/services/search/solr.nix')
-rw-r--r--nixos/modules/services/search/solr.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/search/solr.nix b/nixos/modules/services/search/solr.nix
index 38d9dedbe3c..bc5cbe83cff 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