From 7bf7c4049a38847d4bd27be28380b34802ed5bb1 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Wed, 30 Aug 2023 21:56:24 +0200 Subject: [PATCH] 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 --- pkgs/games/prismlauncher/wrapper.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/games/prismlauncher/wrapper.nix b/pkgs/games/prismlauncher/wrapper.nix index 240deec4e2fe..89b0b08c229e 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