summary refs log tree commit diff
path: root/pkgs/applications/backup/crashplan
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/backup/crashplan')
-rw-r--r--pkgs/applications/backup/crashplan/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/backup/crashplan/default.nix b/pkgs/applications/backup/crashplan/default.nix
index 126bd3c1fd58..5a0e8c7cfbdc 100644
--- a/pkgs/applications/backup/crashplan/default.nix
+++ b/pkgs/applications/backup/crashplan/default.nix
@@ -45,6 +45,7 @@ in stdenv.mkDerivation rec {
     install -D -m 644 run.conf $out/bin/run.conf
     install -D -m 755 scripts/CrashPlanDesktop $out/bin/CrashPlanDesktop
     install -D -m 755 scripts/CrashPlanEngine $out/bin/CrashPlanEngine
+    install -D -m 644 scripts/CrashPlan.desktop $out/share/applications/CrashPlan.desktop
 
     rm -r $out/log
     ln -s $vardir/log $out/log
@@ -72,6 +73,10 @@ in stdenv.mkDerivation rec {
       substituteInPlace $f --replace sed      ${gnused}/bin/sed
       substituteInPlace $f --replace grep     ${gnugrep}/bin/grep
     done
+    
+    substituteInPlace $out/share/applications/CrashPlan.desktop \
+      --replace /usr/local  $out \
+      --replace crashplan/skin skin
 
     wrapProgram $out/bin/CrashPlanDesktop --prefix LD_LIBRARY_PATH ":" "${gtk2}/lib:${glib}/lib:${libXtst}/lib"
   '';