diff options
| author | Soispha Peetz <soispha@b-peetz.de> | 2026-11-25 18:40:06 +0100 |
|---|---|---|
| committer | Soispha Peetz <soispha@b-peetz.de> | 2026-11-28 23:58:38 +0100 |
| commit | 3c840e9486950222f9c4810b8925899a82d63be3 (patch) | |
| tree | 6d647f0b777d1681648fc96ff88231d4983e850b | |
| parent | pkgs/rollup: Document why we assume all paths in the root apply to all targets (diff) | |
| download | nixos-config-3c840e9486950222f9c4810b8925899a82d63be3.zip | |
pkgs/rollup: Don't hard-fail when no owner could be determined
This means that a `--dry-run` lists all problems instead of showing them
one-by-one.
| -rw-r--r-- | pkgs/by-name/ro/rollup/src/main.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/by-name/ro/rollup/src/main.rs b/pkgs/by-name/ro/rollup/src/main.rs index 9c1e771f..a2b661b1 100644 --- a/pkgs/by-name/ro/rollup/src/main.rs +++ b/pkgs/by-name/ro/rollup/src/main.rs @@ -440,8 +440,10 @@ fn target_is_owning_path( parent = next; } - bail!( - "There was no drop-in config defining path ownership for: `{}`", + eprintln!( + "Warning: There was no drop-in config defining path ownership for: `{}`. + Assuming inclusion.", path.display() ); + Ok(true) } |
