diff --git a/pkgs/os-specific/linux/nvidia-x11/persistenced.nix b/pkgs/os-specific/linux/nvidia-x11/persistenced.nix index 9a3daa3d2705e..aa79a45aae204 100644 --- a/pkgs/os-specific/linux/nvidia-x11/persistenced.nix +++ b/pkgs/os-specific/linux/nvidia-x11/persistenced.nix @@ -34,7 +34,7 @@ stdenv.mkDerivation rec { ''; NIX_CFLAGS_COMPILE = [ "-I${libtirpc.dev}/include/tirpc" ]; - NIX_LDFLAGS = [ "-ltirpc" ]; + NIX_LDFLAGS = [ "-ltirpc" "-ldl" "-lpthread" ]; meta = with lib; { homepage = "https://www.nvidia.com/object/unix.html";