mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
gitkraken: fix broken interpreter after recent update
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
2394c19b90
commit
35e24243c3
@ -122,7 +122,9 @@ let
|
||||
|
||||
postFixup = ''
|
||||
pushd $out/share/${pname}
|
||||
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" ${pname}
|
||||
for file in ${pname} chrome-sandbox chrome_crashpad_handler; do
|
||||
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $file
|
||||
done
|
||||
|
||||
for file in $(find . -type f \( -name \*.node -o -name ${pname} -o -name \*.so\* \) ); do
|
||||
patchelf --set-rpath ${libPath}:$out/share/${pname} $file || true
|
||||
|
Loading…
Reference in New Issue
Block a user