Merge pull request #209844 from toelke/update-gitkraken

fix https://github.com/NixOS/nixpkgs/pull/206240
This commit is contained in:
Sandro 2023-01-21 20:23:59 +01:00 committed by GitHub
commit f6d34236a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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