From 435eccf15e366a3f6d66a0b9e8d2ae2bf92719fe Mon Sep 17 00:00:00 2001 From: aanderse Date: Mon, 3 Sep 2018 16:33:38 -0400 Subject: 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/ --- pkgs/applications/video/kodi/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/video/kodi/default.nix b/pkgs/applications/video/kodi/default.nix index 5ca678a2e175..454665455c51 100644 --- a/pkgs/applications/video/kodi/default.nix +++ b/pkgs/applications/video/kodi/default.nix @@ -189,7 +189,7 @@ in stdenv.mkDerivation rec { wrapProgram $out/bin/$p \ --prefix PATH ":" "${lib.makeBinPath [ python2 glxinfo xdpyinfo ]}" \ --prefix LD_LIBRARY_PATH ":" "${lib.makeLibraryPath - [ curl systemd libmad libvdpau libcec libcec_platform rtmpdump libass ]}" + ([ curl systemd libmad libvdpau libcec libcec_platform rtmpdump libass ] ++ lib.optional nfsSupport libnfs)}" done substituteInPlace $out/share/xsessions/kodi.desktop \ -- cgit 1.4.1