logstash6: fix startup due to unpatched shebangs

This commit is contained in:
Bas van Dijk 2018-04-08 01:44:38 +02:00
parent ae94825b4a
commit baf5d4d537

View file

@ -22,6 +22,9 @@ stdenv.mkDerivation rec {
mkdir -p $out
cp -r {Gemfile*,modules,vendor,lib,bin,config,data,logstash-core,logstash-core-plugin-api} $out
patchShebangs $out/bin/logstash
patchShebangs $out/bin/logstash-plugin
wrapProgram $out/bin/logstash \
--set JAVA_HOME "${jre}"