From 10f9466add29432b2d6cc8a7c8d1232236a50a63 Mon Sep 17 00:00:00 2001 From: K900 Date: Sun, 29 Sep 2024 18:56:25 +0300 Subject: [PATCH] linuxPackages.nvidia_x11: symlink libglxserver_nvidia.so --- pkgs/os-specific/linux/nvidia-x11/builder.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/os-specific/linux/nvidia-x11/builder.sh b/pkgs/os-specific/linux/nvidia-x11/builder.sh index 79dd6c1e8c55..00f38b0a3042 100755 --- a/pkgs/os-specific/linux/nvidia-x11/builder.sh +++ b/pkgs/os-specific/linux/nvidia-x11/builder.sh @@ -207,6 +207,11 @@ installPhase() { ln -s "$soname" "$libdir/$unversioned" fi fi + + # FIXME: libglxserver_nvidia does not have a soname, but must still be symlinked + if [[ "$unversioned" == "libglxserver_nvidia.so" ]]; then + ln -s "$libbase" "$libdir/$unversioned" + fi done if [ -n "$bin" ]; then