From b6314fdad62f8c743c028dcde4cb805016d80b1c Mon Sep 17 00:00:00 2001 From: Aristid Breitkreuz Date: Mon, 27 Oct 2014 21:02:04 +0100 Subject: [PATCH] rsnapshot: add (commented) code for an idea that did not work out yet --- pkgs/tools/backup/rsnapshot/git.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/tools/backup/rsnapshot/git.nix b/pkgs/tools/backup/rsnapshot/git.nix index 79bae0a26613..d1025a11d29c 100644 --- a/pkgs/tools/backup/rsnapshot/git.nix +++ b/pkgs/tools/backup/rsnapshot/git.nix @@ -32,6 +32,17 @@ stdenv.mkDerivation rec { patch -p0 <${patch} ''; + # I still think this is a good idea, but it currently fails in the chroot because it checks + # that things are writable and so on. + #checkPhase = '' + # if [ -f "${configFile}" ] + # then + # ${perl}/bin/perl -w ./rsnapshot configtest + # else + # echo File "${configFile}" does not exist, not checking + # fi + #''; + meta = with stdenv.lib; { description = "A filesystem snapshot utility for making backups of local and remote systems"; homepage = http://rsnapshot.org/;