aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/populate/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/populate/default.nix')
-rw-r--r--pkgs/populate/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/populate/default.nix b/pkgs/populate/default.nix
index 3be1932..ee2e5db 100644
--- a/pkgs/populate/default.nix
+++ b/pkgs/populate/default.nix
@@ -48,14 +48,14 @@ let
config = rsyncDefaultConfig // derivedConfig // sourceConfig;
derivedConfig = {
useChecksum =
- if isDerivation source.path
+ if isStorePath source.path
then true
else rsyncDefaultConfig.useChecksum;
};
sourceConfig =
filterAttrs (name: _: elem name (attrNames rsyncDefaultConfig)) source;
sourcePath =
- if isDerivation source.path
+ if isStorePath source.path
then quote (toString source.path)
else quote source.path;
in