diff options
| author | tv <tv@krebsco.de> | 2026-11-14 02:50:05 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-14 03:59:29 +0100 |
| commit | feda621a3a6b29c55c179059259d938d83e30f6e (patch) | |
| tree | c14d03ef84c834571a5897024cf47e538c83f0dc /pkgs/populate/src/cli.rs | |
| parent | 4ed0731ecab446ed0cc4a6146df414a36978e05b (diff) | |
populate: print what Nix says about lock files only if something changed
Looking at a flake with inputs drawn from sources, populate overrides
those inputs with an empty flake, which makes Nix warn that it doesn't
write the lock file it changed, listing the overrides, on every run,
locally for archiving a flake or flake-input source, and on the target
for checking the inputs drawn. nix_looking leaves that warning out of
what Nix prints.
A generated flake gets locked anew on every run, so it pins what the
inputs are now, which made Nix print that it creates the lock file,
listing all inputs, on every run. That only gets printed if the lock
file differs from the one there was.
No phase is expected to print Nix's warning, and relock's second phase,
which changes nothing, isn't expected to print anything about the
generated flake's lock file.
Diffstat (limited to 'pkgs/populate/src/cli.rs')
0 files changed, 0 insertions, 0 deletions
