logstash: fix bin path

with the last commit for logstash plugin the bin path was not being used and the executables
were written directly in the root directory
this results in the failure of the logstash service configuration.
additionally the logstash tool itself does not start because it cannot source shell libraries relative
to the current location
This commit is contained in:
makefu 2015-12-04 14:21:58 +01:00
parent 2157dadebf
commit 1eb3239181

View File

@ -16,9 +16,8 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out
cp -r {Gemfile*,vendor,lib} $out
cp bin/logstash $out/logstash
cp bin/plugin $out/logstash-plugin
cp -r {Gemfile*,vendor,lib,bin} $out
mv $out/bin/plugin $out/bin/logstash-plugin
'';
meta = with stdenv.lib; {