From 8931ed76ab2df36af598295d071b8a9db2c3a7f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viorel-C=C4=83t=C4=83lin=20R=C4=83pi=C8=9Beanu?= Date: Mon, 14 Oct 2024 13:37:32 +0300 Subject: [PATCH] lutris: fix libjansson and cursor issues This fixes the following warning: ntlm_auth: /home/reloner/.local/share/lutris/runtime/Ubuntu-18.04-x86_64/libjansson.so.4: no version information available (required by /nix/store/4gcggjvzrbywi92r66p6l15hckxng2q0-samba-4.20.1/lib/samba/libcommon-auth-private-samba.so) The reason why this issue is happening is because the Lutris FHS that you are running doesn't install jansson as a dependency. By default the WoW entry tries to prioritize the System's libraries and if it doesn't find something, it will fallback to the Lutris runtime. Since the runtime version is really old, you'll see that error. This commit also fixes cursor issues caused by xorg in WoW. --- pkgs/applications/misc/lutris/fhsenv.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/misc/lutris/fhsenv.nix b/pkgs/applications/misc/lutris/fhsenv.nix index 51a7b72223cd..4d894c6eb52c 100644 --- a/pkgs/applications/misc/lutris/fhsenv.nix +++ b/pkgs/applications/misc/lutris/fhsenv.nix @@ -11,6 +11,7 @@ let xorgDeps = pkgs: with pkgs.xorg; [ libX11 libXrender libXrandr libxcb libXmu libpthreadstubs libXext libXdmcp libXxf86vm libXinerama libSM libXv libXaw libXi libXcursor libXcomposite + libXfixes libXtst libXScrnSaver libICE libXt ]; gstreamerDeps = pkgs: with pkgs.gst_all_1; [ gstreamer @@ -35,6 +36,9 @@ in buildFHSEnv { # Adventure Game Studio allegro dumb + # Battle.net + jansson + # Curl libnghttp2