about summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorEdward Tjörnhammar <ed@cflags.cc>2014-11-02 21:30:54 +0100
committerEdward Tjörnhammar <ed@cflags.cc>2014-11-02 21:30:54 +0100
commit78175840f013b5b30fd40e2b78a1feb904af4571 (patch)
treec00eee0621eca7ce1cee1ee8b8380495db305027 /pkgs/applications/video
parentfc4cf2496539b5c14910b3e767a044c975620be1 (diff)
downloadnixlib-78175840f013b5b30fd40e2b78a1feb904af4571.tar
nixlib-78175840f013b5b30fd40e2b78a1feb904af4571.tar.gz
nixlib-78175840f013b5b30fd40e2b78a1feb904af4571.tar.bz2
nixlib-78175840f013b5b30fd40e2b78a1feb904af4571.tar.lz
nixlib-78175840f013b5b30fd40e2b78a1feb904af4571.tar.xz
nixlib-78175840f013b5b30fd40e2b78a1feb904af4571.tar.zst
nixlib-78175840f013b5b30fd40e2b78a1feb904af4571.zip
xbmc: passthrough desktop and icon files
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/xbmc/wrapper.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/applications/video/xbmc/wrapper.nix b/pkgs/applications/video/xbmc/wrapper.nix
index b1017c7098c7..90413c1769aa 100644
--- a/pkgs/applications/video/xbmc/wrapper.nix
+++ b/pkgs/applications/video/xbmc/wrapper.nix
@@ -28,8 +28,15 @@ stdenv.mkDerivation {
     do
       $(ln -s $share $out/share/xbmc/.)
     done)
-    makeWrapper ${xbmc}/bin/xbmc $out/bin/xbmc \
+    $(for passthrough in icons xsessions applications
+    do
+      ln -s ${xbmc}/share/$passthrough $out/share/
+    done)
+    $(for exe in xbmc{,-standalone}
+    do
+    makeWrapper ${xbmc}/bin/$exe $out/bin/$exe \
       --prefix XBMC_HOME : $out/share/xbmc;
+    done)
   '';
 
   preferLocalBuilds = true;