chromium: add libglvnd to rpath

This should fix issues like
- https://github.com/NixOS/nixpkgs/pull/249853
- https://github.com/NixOS/nixpkgs/issues/268490
for all chromium and all electron apps under Wayland.

+2 -1
+2 -1
pkgs/applications/networking/browsers/chromium/common.nix
··· 47 , glibc # gconv + locale 48 # postFixup: 49 , vulkan-loader 50 51 # Package customization: 52 , cupsSupport ? true, cups ? null ··· 479 # libpci (from pciutils) is needed by dlopen in angle/src/gpu_info_util/SystemInfo_libpci.cpp 480 chromiumBinary="$libExecPath/$packageName" 481 origRpath="$(patchelf --print-rpath "$chromiumBinary")" 482 - patchelf --set-rpath "${lib.makeLibraryPath [ libGL vulkan-loader pciutils ]}:$origRpath" "$chromiumBinary" 483 ''; 484 485 passthru = {
··· 47 , glibc # gconv + locale 48 # postFixup: 49 , vulkan-loader 50 + , libglvnd 51 52 # Package customization: 53 , cupsSupport ? true, cups ? null ··· 480 # libpci (from pciutils) is needed by dlopen in angle/src/gpu_info_util/SystemInfo_libpci.cpp 481 chromiumBinary="$libExecPath/$packageName" 482 origRpath="$(patchelf --print-rpath "$chromiumBinary")" 483 + patchelf --set-rpath "${lib.makeLibraryPath [ libGL libglvnd vulkan-loader pciutils ]}:$origRpath" "$chromiumBinary" 484 ''; 485 486 passthru = {