about summary refs log tree commit diff
path: root/pkgs/applications/video/kodi/wrapper.nix
diff options
context:
space:
mode:
authorCarles Pagès <page@ruiec.cat>2019-02-23 02:41:10 +0100
committerGitHub <noreply@github.com>2019-02-23 02:41:10 +0100
commit24c3cbfcd000e68eeeb1152e3aae99c192245cd0 (patch)
tree8faae419de0fca1aaa9b6e3d188bdd725e2b1ede /pkgs/applications/video/kodi/wrapper.nix
parentb320b34b1557fc662768a3b83e45f46093619147 (diff)
parent6307e2b00f331f2814c3dd3c3800893d2f7f4d96 (diff)
downloadnixlib-24c3cbfcd000e68eeeb1152e3aae99c192245cd0.tar
nixlib-24c3cbfcd000e68eeeb1152e3aae99c192245cd0.tar.gz
nixlib-24c3cbfcd000e68eeeb1152e3aae99c192245cd0.tar.bz2
nixlib-24c3cbfcd000e68eeeb1152e3aae99c192245cd0.tar.lz
nixlib-24c3cbfcd000e68eeeb1152e3aae99c192245cd0.tar.xz
nixlib-24c3cbfcd000e68eeeb1152e3aae99c192245cd0.tar.zst
nixlib-24c3cbfcd000e68eeeb1152e3aae99c192245cd0.zip
Merge pull request #49445 from sephalon/kodi-v18
Kodi v18 with InputStream Adaptive
Diffstat (limited to 'pkgs/applications/video/kodi/wrapper.nix')
-rw-r--r--pkgs/applications/video/kodi/wrapper.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/video/kodi/wrapper.nix b/pkgs/applications/video/kodi/wrapper.nix
index d0dc9274a105..b4365eed949b 100644
--- a/pkgs/applications/video/kodi/wrapper.nix
+++ b/pkgs/applications/video/kodi/wrapper.nix
@@ -14,7 +14,10 @@ buildEnv {
     do
       makeWrapper ${kodi}/bin/$exe $out/bin/$exe \
         --prefix PYTHONPATH : ${kodi.pythonPackages.makePythonPath plugins} \
-        --prefix KODI_HOME : $out/share/kodi
+        --prefix KODI_HOME : $out/share/kodi \
+        --prefix LD_LIBRARY_PATH ":" "${lib.makeLibraryPath
+          (stdenv.lib.concatMap
+            (plugin: plugin.extraRuntimeDependencies) plugins)}"
     done
   '';