Merge pull request #209844 from toelke/update-gitkraken
fix https://github.com/NixOS/nixpkgs/pull/206240
This commit is contained in:
commit
f6d34236a2
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue