diff options
author | makefu <github@syntax-fehler.de> | 2015-12-04 14:21:58 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-12-04 14:21:58 +0100 |
commit | 1eb3239181f5ede97d266a715e7c280b885bc7f4 (patch) | |
tree | bea76db12e5cd0464a37a2c9006c94d64d9444fe /pkgs/tools/misc/logstash | |
parent | 2157dadebf24f0796d70fcddc2c950f26bb8ed52 (diff) | |
download | nixlib-1eb3239181f5ede97d266a715e7c280b885bc7f4.tar nixlib-1eb3239181f5ede97d266a715e7c280b885bc7f4.tar.gz nixlib-1eb3239181f5ede97d266a715e7c280b885bc7f4.tar.bz2 nixlib-1eb3239181f5ede97d266a715e7c280b885bc7f4.tar.lz nixlib-1eb3239181f5ede97d266a715e7c280b885bc7f4.tar.xz nixlib-1eb3239181f5ede97d266a715e7c280b885bc7f4.tar.zst nixlib-1eb3239181f5ede97d266a715e7c280b885bc7f4.zip |
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
Diffstat (limited to 'pkgs/tools/misc/logstash')
-rw-r--r-- | pkgs/tools/misc/logstash/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/tools/misc/logstash/default.nix b/pkgs/tools/misc/logstash/default.nix index ab02c7dc3d1d..15bb44a0e479 100644 --- a/pkgs/tools/misc/logstash/default.nix +++ b/pkgs/tools/misc/logstash/default.nix @@ -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; { |