aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/populate/docs/design.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-24 04:53:59 +0000
committertv <tv@krebsco.de>2026-11-24 04:53:59 +0000
commit4daacdbad12cf333da0f1783def2364935672752 (patch)
tree4b884a0e7bba99ac5cff160ba2b180e9913c3c0f /pkgs/populate/docs/design.md
parent6ea379dbf3aad696f3aab3a145a877c4986e64e3 (diff)
populate: remove what's at a target path with remove_tree
What a source replaces at its target path, e.g. what a source of another type delivered there, may have directories that aren't writable, e.g. a copy of a store path, which rm -fR can't empty unless populate runs as root. make_room_for_link (derivations, links to flakes), git sources, and materializing remove it with remove_tree instead, which makes directories writable first, and only directories.
Diffstat (limited to 'pkgs/populate/docs/design.md')
0 files changed, 0 insertions, 0 deletions