mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
fix WebGPU runtime dependencies on linux (#30407)
This commit is contained in:
parent
29616c6dcf
commit
5d8d7c79c2
3 changed files with 38 additions and 7 deletions
|
@ -44,8 +44,15 @@ clangStdenv.mkDerivation rec {
|
|||
# Enable colored cargo and rustc output
|
||||
TERMINFO = "${ncurses.out}/share/terminfo";
|
||||
|
||||
# Fix missing libraries errors (those libraries aren't linked against, so we need to dynamically supply them)
|
||||
LD_LIBRARY_PATH = lib.makeLibraryPath [ xorg.libXcursor xorg.libXrandr xorg.libXi libxkbcommon ];
|
||||
# Provide libraries that aren’t linked against but somehow required
|
||||
LD_LIBRARY_PATH = lib.makeLibraryPath [
|
||||
# Fixes missing library errors
|
||||
xorg.libXcursor xorg.libXrandr xorg.libXi libxkbcommon
|
||||
|
||||
# [WARN script::dom::gpu] Could not get GPUAdapter ("NotFound")
|
||||
# TLA Err: Error: Couldn't request WebGPU adapter.
|
||||
vulkan-loader
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
# Fix invalid option errors during linking
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue