diff options
| author | tv <tv@krebsco.de> | 2026-11-24 04:53:59 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-24 04:53:59 +0000 |
| commit | 4daacdbad12cf333da0f1783def2364935672752 (patch) | |
| tree | 4b884a0e7bba99ac5cff160ba2b180e9913c3c0f /lib/default.nix | |
| parent | 6ea379dbf3aad696f3aab3a145a877c4986e64e3 (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 'lib/default.nix')
0 files changed, 0 insertions, 0 deletions
