From 1eb3239181f5ede97d266a715e7c280b885bc7f4 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 4 Dec 2015 14:21:58 +0100 Subject: 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 --- pkgs/tools/misc/logstash/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pkgs/tools/misc/logstash') 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; { -- cgit 1.4.1