diff options
author | Domen Kožar <domen@dev.si> | 2014-12-19 23:25:19 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2014-12-19 23:26:35 +0100 |
commit | d500a52ebaea59541ccc01c7ae9634372d772419 (patch) | |
tree | 1485b552e5ccb26e82d91e564962c2b010c3077d /pkgs/applications/backup/crashplan | |
parent | 3106bab31dc718d1582aa8ecf5df0eb417845f73 (diff) |
crashplan: install desktop file
(cherry picked from commit 42b2c1f3cf41844e7edf41a4523dd6c3ff958234)
Signed-off-by: Domen Kožar <domen@dev.si>
Diffstat (limited to 'pkgs/applications/backup/crashplan')
-rw-r--r-- | pkgs/applications/backup/crashplan/default.nix | 5 |
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" ''; |