1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 17:10:48 +00:00

google-chrome-dev: fix error on startup

Fix `[..]/crashpad_handler: No such file or directory`.
This commit is contained in:
Samuel Gräfenstein 2021-04-30 14:51:18 +02:00
parent d7e9d65ea2
commit c9d89c2f55
No known key found for this signature in database
GPG key ID: EF76A063F15C63C8

View file

@ -146,7 +146,7 @@ in stdenv.mkDerivation {
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" \
--add-flags ${escapeShellArg commandLineArgs}
for elf in $out/share/google/$appname/{chrome,chrome-sandbox,nacl_helper}; do
for elf in $out/share/google/$appname/{chrome,chrome-sandbox,crashpad_handler,nacl_helper}; do
patchelf --set-rpath $rpath $elf
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $elf
done