summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authoraanderse <aaron@fosslib.net>2018-09-03 16:33:38 -0400
committerxeji <36407913+xeji@users.noreply.github.com>2018-09-03 22:33:38 +0200
commit435eccf15e366a3f6d66a0b9e8d2ae2bf92719fe (patch)
treea4b6d903b1f51a4b96657a934ea9f827d180dc1f /pkgs/applications/video
parent28def75a1094de45d6a3413d1c631a2b76a9bf8d (diff)
downloadnixlib-435eccf15e366a3f6d66a0b9e8d2ae2bf92719fe.tar
nixlib-435eccf15e366a3f6d66a0b9e8d2ae2bf92719fe.tar.gz
nixlib-435eccf15e366a3f6d66a0b9e8d2ae2bf92719fe.tar.bz2
nixlib-435eccf15e366a3f6d66a0b9e8d2ae2bf92719fe.tar.lz
nixlib-435eccf15e366a3f6d66a0b9e8d2ae2bf92719fe.tar.xz
nixlib-435eccf15e366a3f6d66a0b9e8d2ae2bf92719fe.tar.zst
nixlib-435eccf15e366a3f6d66a0b9e8d2ae2bf92719fe.zip
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/
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/kodi/default.nix2
1 files changed, 1 insertions, 1 deletions
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 \