summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorlethalman <lucabru@src.gnome.org>2014-11-03 00:20:46 +0100
committerlethalman <lucabru@src.gnome.org>2014-11-03 00:20:46 +0100
commitfae9e793b44e0b9c2e5a212a0d76df33e31a4289 (patch)
treef2ad7f80d4c83833dbc7e828b2024b5c04c77746 /pkgs/applications
parent9751c9a1cc79f164cdd0a5c3d16aad6eb96d156f (diff)
parent78175840f013b5b30fd40e2b78a1feb904af4571 (diff)
downloadnixpkgs-fae9e793b44e0b9c2e5a212a0d76df33e31a4289.tar
nixpkgs-fae9e793b44e0b9c2e5a212a0d76df33e31a4289.tar.gz
nixpkgs-fae9e793b44e0b9c2e5a212a0d76df33e31a4289.tar.bz2
nixpkgs-fae9e793b44e0b9c2e5a212a0d76df33e31a4289.tar.lz
nixpkgs-fae9e793b44e0b9c2e5a212a0d76df33e31a4289.tar.xz
nixpkgs-fae9e793b44e0b9c2e5a212a0d76df33e31a4289.tar.zst
nixpkgs-fae9e793b44e0b9c2e5a212a0d76df33e31a4289.zip
Merge pull request #4789 from edwtjo/xbmc-wrapper-desktop-passthroughs
xbmc: passthrough desktop and icon files
Diffstat (limited to 'pkgs/applications')
-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 b1017c7098c..90413c1769a 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;