wivrn: add libSDL2 and libudev to library path for lighthouse driver

This commit is contained in:
Sapphire
2026-04-11 20:30:03 -05:00
parent 527d357294
commit a4cbc83450
+8
View File
@@ -41,6 +41,7 @@
pkg-config,
python3,
qt6,
sdl2-compat,
shaderc,
systemd,
udev,
@@ -180,6 +181,13 @@ stdenv.mkDerivation (finalAttrs: {
dontWrapQtApps = true;
preFixup = lib.optional (!clientLibOnly) ''
wrapProgram "$out/bin/wivrn-server" \
--prefix LD_LIBRARY_PATH : ${
lib.makeLibraryPath [
sdl2-compat
udev
]
}
wrapQtApp "$out/bin/wivrn-dashboard" \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ vulkan-loader ]} \
--prefix PATH : ${lib.makeBinPath [ android-tools ]}