aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2021-10-26 19:36:12 +0200
committertv <tv@krebsco.de>2021-10-26 19:36:12 +0200
commit05f0d3b5c1d38fbbd53142362a7821cc8bc1150a (patch)
treeacf465987c140c25071ec9f52191be086f68bb2a
parent6ef8900af4bca2901f00c718e3ac8ba457348451 (diff)
populate file: isDerivation -> isStorePath1.26.1
-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