diff options
| author | Soispha Peetz <soispha@b-peetz.de> | 2026-11-25 18:39:45 +0100 |
|---|---|---|
| committer | Soispha Peetz <soispha@b-peetz.de> | 2026-11-28 23:58:38 +0100 |
| commit | b34a6fcc8e2a4d4503d90d382c152077e25f4549 (patch) | |
| tree | 17759f8609409fde5db03f2a15bad7949c47f2ba /pkgs/by-name/ro/rollup/src | |
| parent | pkgs/rollup: Don't canonicalize path before checking drop ins (diff) | |
| download | nixos-config-b34a6fcc8e2a4d4503d90d382c152077e25f4549.zip | |
pkgs/rollup: Document why we assume all paths in the root apply to all targets
Diffstat (limited to 'pkgs/by-name/ro/rollup/src')
| -rw-r--r-- | pkgs/by-name/ro/rollup/src/main.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/by-name/ro/rollup/src/main.rs b/pkgs/by-name/ro/rollup/src/main.rs index 82521d93..9c1e771f 100644 --- a/pkgs/by-name/ro/rollup/src/main.rs +++ b/pkgs/by-name/ro/rollup/src/main.rs @@ -404,6 +404,9 @@ fn target_is_owning_path( } if root.join(path).parent() == Some(root) { + // The path is in the root directory, so there can be no drop-in to apply. It is trivially + // included. + // TODO: It would maybe be good to re-think this. <2026-11-23> return Ok(true); } |
