Merge pull request #5237 from purefn/fix-hipchat

hipchat: there is no bin/ directory
This commit is contained in:
Jaka Hudoklin 2014-12-06 22:51:38 +01:00
commit cb7bcb8804

View File

@ -75,8 +75,6 @@ stdenv.mkDerivation {
mv opt/HipChat/lib/ $d mv opt/HipChat/lib/ $d
mv usr/share $out mv usr/share $out
patchShebangs $out/bin
for file in $(find $d -type f); do for file in $(find $d -type f); do
patchelf --set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" $file || true patchelf --set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" $file || true
patchelf --set-rpath ${rpath}:\$ORIGIN $file || true patchelf --set-rpath ${rpath}:\$ORIGIN $file || true