1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00

zookeeper: patch shebangs in output scripts

This commit is contained in:
Jaka Hudoklin 2018-07-07 11:33:04 +02:00
parent 6e9c7f0ad5
commit ce32952d15

View file

@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
cp -R conf docs lib ${name}.jar $out
mkdir -p $out/bin
cp -R bin/{zkCli,zkCleanup,zkEnv,zkServer}.sh $out/bin
patchShebangs $out/bin
for i in $out/bin/{zkCli,zkCleanup,zkServer}.sh; do
wrapProgram $i \
--set JAVA_HOME "${jre}" \