diff options
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/monitoring/riemann.nix | 2 | ||||
-rw-r--r-- | nixos/modules/services/search/solr.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/riemann.nix b/nixos/modules/services/monitoring/riemann.nix index ab37d717b86dd..ac5d0134a80d6 100644 --- a/nixos/modules/services/monitoring/riemann.nix +++ b/nixos/modules/services/monitoring/riemann.nix @@ -17,7 +17,7 @@ let launcher = writeScriptBin "riemann" '' #!/bin/sh - exec ${openjdk}/bin/java ${concatStringsSep "\n" cfg.extraJavaOpts} \ + exec ${jdk}/bin/java ${concatStringsSep "\n" cfg.extraJavaOpts} \ -cp ${classpath} \ riemann.bin ${writeText "riemann-config.clj" riemannConfig} ''; diff --git a/nixos/modules/services/search/solr.nix b/nixos/modules/services/search/solr.nix index 38d9dedbe3cf1..bc5cbe83cff67 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 |