Re:macOS Nix setup: an alternative to Homebrew (2020)
by ianthehenry on Tuesday July 13, 2021 @04:58PM
(#27826235)
It actually is! There are lots of examples of arcane Nix commands, but as of Nix 2.0, you actually can type `nix search git`. And it works much better than `nix-env -qa` ever did.
Your point stands, though. For example, why is it:
nix-env -iA nixpkgs.git
Instead of: nix install git
(I know what the answer is, but still, it's a question that I think a lot of newcomers are going to ask.)
EDIT: example, why is it
instead of