elasticsearch7: wrap elasticcearch-keystore

This commit is contained in:
happysalada 2021-08-31 10:30:17 +09:00 committed by Raphael Megzari
parent 070fa4cefc
commit 3b7fa8744c

View File

@ -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}"