Comment

Comment by ianthehenry

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.)
parent ianthehenry 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton