mirror of
https://cgit.krebsco.de/krops
synced 2024-11-22 19:19:46 +01:00
populate file: isDerivation -> isStorePath
This commit is contained in:
parent
6ef8900af4
commit
05f0d3b5c1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue