From fce5826802ca36d451978baa83a97bfbc1d2475f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 23 Dec 2019 22:00:53 +0000 Subject: populate: re-add default values for useChecksum/exclude Turns out, those where required. --- pkgs/populate/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/populate/default.nix b/pkgs/populate/default.nix index 3e02aea..acabc02 100644 --- a/pkgs/populate/default.nix +++ b/pkgs/populate/default.nix @@ -156,11 +156,11 @@ let source_path=$source_path/ fi ${rsync}/bin/rsync \ - ${optionalString config.useChecksum /* sh */ "--checksum"} \ + ${optionalString (config.useChecksum or false) /* sh */ "--checksum"} \ ${optionalString target.sudo /* sh */ "--rsync-path=\"sudo rsync\""} \ ${concatMapStringsSep " " (pattern: /* sh */ "--exclude ${quote pattern}") - config.exclude} \ + (config.exclude or [])} \ -e ${quote (ssh' target)} \ -vFrlptD \ --delete-excluded \ -- cgit v1.2.3