-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Is your feature request related to a problem? Please describe.
The output from nix profile list is way too noisy. You can only list a hand full of packages until your entire screen get filled up, and most of that information is not relevant to the average user.
$ nix profile list
Name: gdb
Flake attribute: legacyPackages.x86_64-linux.gdb
Original flake URL: flake:nixpkgs
Locked flake URL: github:NixOS/nixpkgs/7b38b03d76ab71bdc8dc325e3f6338d984cc35ca
Store paths: /nix/store/indzcw5wvlhx6vwk7k4iq29q15chvr3d-gdb-11.1
Name: blender-bin
Flake attribute: packages.x86_64-linux.default
Original flake URL: flake:blender-bin
Locked flake URL: github:edolstra/nix-warez/91f2ffee657bf834e4475865ae336e2379282d34?dir=blender
Store paths: /nix/store/i798sxl3j40wpdi1rgf391id1b5klw7g-blender-bin-3.1.2
Describe the solution you'd like
I would suggest we output a more concise list of packages and print the more detailed version with the --verbose flag.
Maybe something like:
gdb 11.1 nixpkgs#legacyPackages.x86_64-linux.gdb
blender-bin 3.1.2 blender-bin#packages.x86_64-linux.default
foo N/A /home/foo/my-flake#packages.x86_64-linux.default
Maybe even omit the installable path entirely?
gdb 11.1 flake:nixpkgs
blender-bin 3.1.2 flake:blender-bin
foo N/A flake:/home/foo/my-flake
Describe alternatives you've considered
There's probably a ton of different ways we could print out the list of installed packages. Just wanted to start the conversation.
Additional context
Probably something to add to nix profile has bad UX #7966
Priorities
Add 👍 to issues you find important.