Install all dirs for logstash

Also only patch shebangs in bin/ directory
This commit is contained in:
William Roe 2014-07-14 17:54:20 +01:00
parent d79a58e392
commit a5783a977e

View File

@ -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 = {