Comment

Comment by soraminazuki

For installing a package, you have to specify the package repository. For uninstalling, you don't because you're operating against a separate repository containing locally installed packages. This should be the same for the new CLI too.

Looking at the manual[1], instead of:

    nix profile remove nixpkgs#ripgrep
You'd probably need to run:

    nix profile remove packages.x86_64-linux.ripgrep
For searching packages,

    nix search nixpkgs ripgrep
is faster than

    nix-env -qaP ripgrep
But I find the online search UI[2] to be far more superior.

[1]: https://nixos.org/manual/nix/unstable/command-ref/new-cli/ni...

[2]: https://search.nixos.org/packages

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton