mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +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;
|
dontBuild = true;
|
||||||
dontPatchELF = true;
|
dontPatchELF = true;
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
|
dontPatchShebangs = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
ensureDir $out/bin
|
||||||
|
ensureDir $out/vendor
|
||||||
|
ensureDir $out/lib
|
||||||
|
ensureDir $out/locales
|
||||||
|
ensureDir $out/patterns
|
||||||
cp -a bin $out
|
cp -a bin $out
|
||||||
|
cp -a vendor $out
|
||||||
|
cp -a lib $out
|
||||||
|
cp -a locales $out
|
||||||
|
cp -a patterns $out
|
||||||
|
patchShebangs $out/bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user