Being too verbose in nix search #362

Closed
opened 2024-05-30 06:10:48 +00:00 by aleksanaa · 2 comments

Describe the bug

When I use nix search nixpkgs d-spy I get millions of lines of

evaluating 'legacyPackages.x86_64-linux.zulu17'...
evaluating 'legacyPackages.x86_64-linux.zulu21'...
evaluating 'legacyPackages.x86_64-linux.zulu8'...
evaluating 'legacyPackages.x86_64-linux.zuo'...
evaluating 'legacyPackages.x86_64-linux.zwave-js-server'...
evaluating 'legacyPackages.x86_64-linux.zx'...
evaluating 'legacyPackages.x86_64-linux.zxcvbn-c'...
evaluating 'legacyPackages.x86_64-linux.zxfer'...
evaluating 'legacyPackages.x86_64-linux.zxing'...
evaluating 'legacyPackages.x86_64-linux.zxing-cpp'...
evaluating 'legacyPackages.x86_64-linux.zxpy'...
evaluating 'legacyPackages.x86_64-linux.zxtune'...
evaluating 'legacyPackages.x86_64-linux.zydis'...
evaluating 'legacyPackages.x86_64-linux.zyn-fusion'...
evaluating 'legacyPackages.x86_64-linux.zynaddsubfx'...
evaluating 'legacyPackages.x86_64-linux.zynaddsubfx-fltk'...
evaluating 'legacyPackages.x86_64-linux.zynaddsubfx-ntk'...
evaluating 'legacyPackages.x86_64-linux.zz'...
evaluating 'legacyPackages.x86_64-linux.zziplib'...
evaluating 'legacyPackages.x86_64-linux.zzuf'...

With the result hiding inside.

This behavior isn't in Nix:

=> nix search pkgs d-spy
* legacyPackages.x86_64-linux.d-spy (1.10.0)
  D-Bus exploration tool

With the logs just appearing and dissapearing in one line.

Steps To Reproduce

  1. nix search nixpkgs d-spy or whatever
  2. See error

Expected behavior

Just show one line of verbose log, or something else, instead of flooding into my terminal and hiding the search result.

nix --version output

nix (Lix, like Nix) 2.90.0pre20240530_218630a

Additional context

It doesn't happen for nix (Lix, like Nix) 2.90.0-beta.1.

## Describe the bug When I use `nix search nixpkgs d-spy` I get millions of lines of ``` evaluating 'legacyPackages.x86_64-linux.zulu17'... evaluating 'legacyPackages.x86_64-linux.zulu21'... evaluating 'legacyPackages.x86_64-linux.zulu8'... evaluating 'legacyPackages.x86_64-linux.zuo'... evaluating 'legacyPackages.x86_64-linux.zwave-js-server'... evaluating 'legacyPackages.x86_64-linux.zx'... evaluating 'legacyPackages.x86_64-linux.zxcvbn-c'... evaluating 'legacyPackages.x86_64-linux.zxfer'... evaluating 'legacyPackages.x86_64-linux.zxing'... evaluating 'legacyPackages.x86_64-linux.zxing-cpp'... evaluating 'legacyPackages.x86_64-linux.zxpy'... evaluating 'legacyPackages.x86_64-linux.zxtune'... evaluating 'legacyPackages.x86_64-linux.zydis'... evaluating 'legacyPackages.x86_64-linux.zyn-fusion'... evaluating 'legacyPackages.x86_64-linux.zynaddsubfx'... evaluating 'legacyPackages.x86_64-linux.zynaddsubfx-fltk'... evaluating 'legacyPackages.x86_64-linux.zynaddsubfx-ntk'... evaluating 'legacyPackages.x86_64-linux.zz'... evaluating 'legacyPackages.x86_64-linux.zziplib'... evaluating 'legacyPackages.x86_64-linux.zzuf'... ``` With the result hiding inside. This behavior isn't in Nix: ``` => nix search pkgs d-spy * legacyPackages.x86_64-linux.d-spy (1.10.0) D-Bus exploration tool ``` With the logs just appearing and dissapearing in one line. ## Steps To Reproduce 1. `nix search nixpkgs d-spy` or whatever 2. See error ## Expected behavior Just show one line of verbose log, or something else, instead of flooding into my terminal and hiding the search result. ## `nix --version` output `nix (Lix, like Nix) 2.90.0pre20240530_218630a` ## Additional context It doesn't happen for `nix (Lix, like Nix) 2.90.0-beta.1`.
aleksanaa added the
bug
label 2024-05-30 06:10:48 +00:00
Owner

This is our fault; caused by nix3: always use the same verbosity default (info). Will fix

This is our fault; caused by [nix3: always use the same verbosity default (info)](https://git.lix.systems/lix-project/lix/commit/d0390b5cf). Will fix
qyriad self-assigned this 2024-05-30 18:39:23 +00:00
Owner
https://gerrit.lix.systems/c/lix/+/1370/1
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#362
No description provided.