From 78175840f013b5b30fd40e2b78a1feb904af4571 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edward=20Tj=C3=B6rnhammar?= Date: Sun, 2 Nov 2014 21:30:54 +0100 Subject: [PATCH] xbmc: passthrough desktop and icon files --- pkgs/applications/video/xbmc/wrapper.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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;