firefox-bin-unwrapped: patch new glxtest/vaapitest binaries

Otherwise the probing of graphics hardware will fail and the user will
be unable to create e.g. WebGL contexts.
This commit is contained in:
Martin Weinelt 2023-06-08 13:08:23 +02:00
parent 1a726416c7
commit e0a901b1e0
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -167,7 +167,8 @@ stdenv.mkDerivation {
for executable in \
firefox firefox-bin plugin-container \
updater crashreporter webapprt-stub
updater crashreporter webapprt-stub \
glxtest vaapitest
do
if [ -e "$out/usr/lib/firefox-bin-${version}/$executable" ]; then
patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \