From a5783a977e0852fa7803810faea623d084818c81 Mon Sep 17 00:00:00 2001 From: William Roe Date: Mon, 14 Jul 2014 17:54:20 +0100 Subject: [PATCH] Install all dirs for logstash Also only patch shebangs in bin/ directory --- pkgs/tools/misc/logstash/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/tools/misc/logstash/default.nix b/pkgs/tools/misc/logstash/default.nix index 98337f95c18e..a3e56e564411 100644 --- a/pkgs/tools/misc/logstash/default.nix +++ b/pkgs/tools/misc/logstash/default.nix @@ -12,9 +12,20 @@ stdenv.mkDerivation rec { dontBuild = true; dontPatchELF = true; dontStrip = true; + dontPatchShebangs = true; installPhase = '' + ensureDir $out/bin + ensureDir $out/vendor + ensureDir $out/lib + ensureDir $out/locales + ensureDir $out/patterns cp -a bin $out + cp -a vendor $out + cp -a lib $out + cp -a locales $out + cp -a patterns $out + patchShebangs $out/bin ''; meta = {