diff options
| author | tv <tv@krebsco.de> | 2026-11-12 02:33:43 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-12 02:33:43 +0000 |
| commit | 1dd511bd6920b428dbd48f36ac646da8463fcbdd (patch) | |
| tree | 2e36ef4d6e7dc31850ddd8b7384058090145ea38 /lib/types | |
| parent | 5906453bc0c6e31cee65a20aa8e7811b6eaf3b1e (diff) | |
populate: replace symlinks before syncing with rsync
rsync follows a symlink at the target path, so a source switching from the
flake or flake-input type to file, pass, passage, or pipe got written into
the store path the link points to, and one switching from the symlink
type into what that link points to, e.g. another source. Populate
removes a symlink at the target path before syncing with rsync.
The roots in .populate/flake-inputs/<name> of a source that is neither a
flake nor a flake-input source anymore get removed as well.
An edge case switches a flake source to a file source.
Diffstat (limited to 'lib/types')
0 files changed, 0 insertions, 0 deletions
