From 05f0d3b5c1d38fbbd53142362a7821cc8bc1150a Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 26 Oct 2021 19:36:12 +0200 Subject: populate file: isDerivation -> isStorePath --- 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 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 -- cgit v1.2.3