elasticsearch7: wrap elasticcearch-keystore

launchpad/nixpkgs/master
happysalada 3 years ago committed by Raphael Megzari
parent 070fa4cefc
commit 3b7fa8744c
  1. 3
      pkgs/servers/search/elasticsearch/7.x.nix

@ -59,6 +59,9 @@ stdenv.mkDerivation (rec {
chmod +x $out/bin/*
substituteInPlace $out/bin/elasticsearch \
--replace 'bin/elasticsearch-keystore' "$out/bin/elasticsearch-keystore"
wrapProgram $out/bin/elasticsearch \
--prefix PATH : "${makeBinPath [ util-linux coreutils gnugrep ]}" \
--set JAVA_HOME "${jre_headless}"

Loading…
Cancel
Save