about summary refs log tree commit diff
path: root/pkgs/games/prismlauncher
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-30 21:56:24 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2023-08-30 21:56:26 +0200
commit7bf7c4049a38847d4bd27be28380b34802ed5bb1 (patch)
tree14ea677fb1b51e282a6671631787f90fa3fdd045 /pkgs/games/prismlauncher
parentedfb18664a4457084d549f56a1cf86f4ac6f61db (diff)
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>
Diffstat (limited to 'pkgs/games/prismlauncher')
-rw-r--r--pkgs/games/prismlauncher/wrapper.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/games/prismlauncher/wrapper.nix b/pkgs/games/prismlauncher/wrapper.nix
index 240deec4e2fe4..89b0b08c229ef 100644
--- a/pkgs/games/prismlauncher/wrapper.nix
+++ b/pkgs/games/prismlauncher/wrapper.nix
@@ -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