prismlauncher: include udev as a runtime dependency

OSHI might need udev to acquire some information. A recent Minecraft
released updated this library, which caused a warning to be printed on
launch about this missing dependency.

See https://github.com/oshi/oshi/pull/2327

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-08-30 21:56:24 +02:00
parent edfb18664a
commit 7bf7c4049a
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951

View File

@ -16,6 +16,7 @@
, gamemode
, flite
, mesa-demos
, udev
, msaClientID ? null
, gamemodeSupport ? stdenv.isLinux
@ -58,11 +59,15 @@ symlinkJoin {
libXxf86vm
])
++ [
# lwjgl
libpulseaudio
libGL
glfw
openal
stdenv.cc.cc.lib
# oshi
udev
]
++ lib.optional gamemodeSupport gamemode.lib
++ lib.optional textToSpeechSupport flite