nix flake show
prints log on same lines as output instead of clearing. #425
Labels
No labels
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
ux
No milestone
No project
No assignees
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#425
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
When using
nix flake show
(as that's all I've tested with), the evaluation log output is not correctly cleared as would be expected.Steps To Reproduce
nix flake show
Expected behavior
Output was expected to be printed without log messages staying in output lines.
nix --version
outputnix (Lix, like Nix) 2.91.0-dev-pre20240624-d5637ee
Additional context
Here's some example outputs of current behaviour:
@kloenk could this be related to the progress bar refactors? that was the only bigger change in this area of the code recently (and since it's already caused behavioral changes like #424 it seems plausible that we missed things in review?)
i hit this yesterday as well. plausible it's a progress bar behaviour change.
As an update, I'm doing some builds locally and
697ef65c14
does not appear to suffer from this issue. (Thank you pennae for mentioning the progress bar changes that led me to trying this specific commit.)I'll keep doing some manual bisects to see what I can figure out on my end.
EDIT:
e44dcd63c4
seems to be fine too.EDIT:
37f276ba9d
seems to have this issue, so going to keep bisecting.EDIT:
e09cc60df9
seems to have this issue, so going to keep bisecting.EDIT:
375f4c0337
seems to be fine!EDIT: After my own bisection efforts, I'm pretty sure that
da4e46dd1f
introduced the issue. Can't confirm it 100% or write a fix, but I'm pretty sure that's it based on the findings.Eh yeah quite possible that it's from there. thought I tested that as well, but guess it got lost. Will try to come up with a fix when I have the time
This also appears to affect
nix search nixpkgs {search_term_here}
, so it definitely seems to be related to Flakes in general, instead of justnix flake
commands like I had hoped.I know that was likely expected from the start, but figured it good to update here anyway.
Seems to be fixed for me, after I did a rebuild ~20 hours ago.
Edit: Just checked out the Lix commit ID against the currently pushed commits, and logically there's no reason that this should have fixed itself. I'm quite confused now...
confirmed, seems fixed on my machine, gonna close
fix commit was
3dd7d023f4
This issue was mentioned on Gerrit on the following CLs: