Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

kodi: fix nfs support (#46006)

libnfs is required to be in the LD_LIBRARY_PATH for kodi if you want nfs support
see: https://www.reddit.com/r/NixOS/comments/9aiquo/how_to_enable_nfs_support_in_kodi/

(cherry picked from commit 435eccf15e366a3f6d66a0b9e8d2ae2bf92719fe)

authored by aanderse and committed by Uli Baum f82b65bd 45f52f76

+1 -1
+1 -1
pkgs/applications/video/kodi/default.nix
··· 189 189 wrapProgram $out/bin/$p \ 190 190 --prefix PATH ":" "${lib.makeBinPath [ python2 glxinfo xdpyinfo ]}" \ 191 191 --prefix LD_LIBRARY_PATH ":" "${lib.makeLibraryPath 192 - [ curl systemd libmad libvdpau libcec libcec_platform rtmpdump libass ]}" 192 + ([ curl systemd libmad libvdpau libcec libcec_platform rtmpdump libass ] ++ lib.optional nfsSupport libnfs)}" 193 193 done 194 194 195 195 substituteInPlace $out/share/xsessions/kodi.desktop \