NixOS / nix

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

nix flake show should show package descriptions if available #10977

Open kjeremy opened 3 days ago

kjeremy commented 3 days ago

Is your feature request related to a problem? Please describe. Discoverability in flakes is hard. It would be made a lot easier if nix flake show would take advantage of meta.description for packages and devShells.

Describe the solution you'd like If the cat27x/burn package has a meta.description = "Used to burn a disk image for the CAT27x vehicle." Instead of:

packages
    └───x86_64-linux
        ├───"cat27x/burn": package 'burn.sh'

We should see descriptions like:

packages
    └───x86_64-linux
        ├───"cat27x/burn": package 'burn.sh' - Used to burn a disk image for the CAT27x vehicle.

Describe alternatives you've considered Grepping through the code base for the package?

Additional context

Priorities

Add :+1: to issues you find important.