NixOS / nix

Nix, the purely functional package manager
https://nixos.org/
GNU Lesser General Public License v2.1
12.13k stars 1.47k forks source link

nix search --verbose does not change anything #2473

Open guibou opened 5 years ago

guibou commented 5 years ago

The output of nix search and nix search --verbose are the same:

$ nix search blender
warning: using cached results; pass '-u' to update the cache
* nixpkgs.blender (blender)
  3D Creation/Animation/Publishing System
$ nix search --verbose blender
warning: using cached results; pass '-u' to update the cache
* nixpkgs.blender (blender)
  3D Creation/Animation/Publishing System

I was actually hoping that --verbose would display version number, but no. --json can be used as a workaround.

unode commented 5 years ago

Also stumbled on the same issue while searching for a way to get version information out of nix search. Seems like nixs still has one use-case remaining.

timor commented 5 years ago

~At the moment (nix 2.2.2) it seems that nix search also emits the package version, so there again is no difference. I think it would be useful if the --verbose flag shows the homepage information of a package.~

guibou commented 5 years ago

@timor using nix 2.2.2 I have no version in the default output.

timor commented 5 years ago

@guibou Right. Seems I mistook some version component in the attribute name for the version info.

Please disregard, then.

stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info

stale[bot] commented 2 years ago

I closed this issue due to inactivity. → More info