daemon: Do not reset timestamps and permissions on substituted items.
'guix substitute' now takes care of it via 'restore-file'. * nix/libstore/build.cc (SubstitutionGoal::finished): Remove call to 'canonicalisePathMetaData'.master
parent
77a1efed9e
commit
15cf28fbb4
|
@ -3085,7 +3085,8 @@ void SubstitutionGoal::finished()
|
|||
|
||||
if (repair) replaceValidPath(storePath, destPath);
|
||||
|
||||
canonicalisePathMetaData(storePath, -1);
|
||||
/* Note: 'guix substitute' takes care of resetting timestamps and
|
||||
permissions on 'destPath', so no need to do it here. */
|
||||
|
||||
worker.store.optimisePath(storePath); // FIXME: combine with hashPath()
|
||||
|
||||
|
|
Reference in New Issue