mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
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:
parent
2157dadebf
commit
1eb3239181
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user