nix-community / nix-index

Quickly locate nix packages with specific files [maintainers=@bennofs @figsoda @raitobezarius]
Other
851 stars 48 forks source link

UX: replace nix-env recommendations with nix-shell when NIX_AUTO_RUN #147

Open wmertens opened 3 years ago

wmertens commented 3 years ago

If NIX_AUTO_RUN is set and a missing command offers more than one match, nix-env is too far from the intended nix-shell syntax.

I would prefer it if instead, it would print the nix-shell commands to use for instant copy/paste.

An even better option would be to provide a menu like with https://unix.stackexchange.com/a/415155/10381