From 0d4acad489cd2962908eb157551519c79d5b1182 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Thu, 18 Dec 2014 10:12:37 +0100 Subject: [PATCH] crashplan: fix CrashPlanDesktop binary --- pkgs/applications/backup/crashplan/CrashPlanDesktop.patch | 8 ++++++++ pkgs/applications/backup/crashplan/default.nix | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 pkgs/applications/backup/crashplan/CrashPlanDesktop.patch diff --git a/pkgs/applications/backup/crashplan/CrashPlanDesktop.patch b/pkgs/applications/backup/crashplan/CrashPlanDesktop.patch new file mode 100644 index 000000000000..005164848905 --- /dev/null +++ b/pkgs/applications/backup/crashplan/CrashPlanDesktop.patch @@ -0,0 +1,8 @@ +--- ./scripts/CrashPlanDesktop 2014-12-18 09:51:14.050804325 +0100 ++++ ./scripts/CrashPlanDesktop-1 2014-12-18 09:51:32.271009382 +0100 +@@ -9,4 +9,4 @@ + + cd ${TARGETDIR} + +-${JAVACOMMON} ${GUI_JAVA_OPTS} -classpath "./lib/com.backup42.desktop.jar:./lang:./skin" com.backup42.desktop.CPDesktop > ${TARGETDIR}/log/ui_output.log 2> ${TARGETDIR}/log/ui_error.log & ++${JAVACOMMON} ${GUI_JAVA_OPTS} -classpath "./lib/com.backup42.desktop.jar:./lang:./skin" com.backup42.desktop.CPDesktop & diff --git a/pkgs/applications/backup/crashplan/default.nix b/pkgs/applications/backup/crashplan/default.nix index 1a78dea21578..126bd3c1fd58 100644 --- a/pkgs/applications/backup/crashplan/default.nix +++ b/pkgs/applications/backup/crashplan/default.nix @@ -16,7 +16,7 @@ in stdenv.mkDerivation rec { description = "An online/offline backup solution"; homepage = "http://www.crashplan.org"; license = licenses.unfree; - maintainers = with maintainers; [ sztupi ]; + maintainers = with maintainers; [ sztupi iElectric ]; }; buildInputs = [ makeWrapper cpio ]; @@ -25,7 +25,7 @@ in stdenv.mkDerivation rec { manifestdir = "${vardir}/manifest"; - patches = [ ./CrashPlanEngine.patch ]; + patches = [ ./CrashPlanEngine.patch ./CrashPlanDesktop.patch ]; installPhase = '' mkdir $out