Merge pull request #272028 from anilanar/fix-vscode-gpu-accel-libgl

vscode: add libGL.so.1 to vscode executable
This commit is contained in:
maxine 2023-12-07 23:22:26 +01:00 committed by GitHub
commit ec047af0f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -247,7 +247,11 @@ in
); );
postFixup = lib.optionalString stdenv.isLinux '' postFixup = lib.optionalString stdenv.isLinux ''
patchelf --add-needed ${libglvnd}/lib/libGLESv2.so.2 $out/lib/vscode/${executableName} patchelf \
--add-needed ${libglvnd}/lib/libGLESv2.so.2 \
--add-needed ${libglvnd}/lib/libGL.so.1 \
--add-needed ${libglvnd}/lib/libEGL.so.1 \
$out/lib/vscode/${executableName}
''; '';
inherit meta; inherit meta;