mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
Install all dirs for logstash
Also only patch shebangs in bin/ directory
This commit is contained in:
parent
d79a58e392
commit
a5783a977e
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue