nix-search-pretty
Closed this issue · 4 comments
DieracDelta commented
How do I get nix-search-pretty working? I've got the package from this flake installed but it looks I also need to apply a patch to nixpkgs. Can you provide an example of how to do this from a flake?
dramforever commented
I noticed that I forgot to include this in the readme. Assuming you got nix
and nix-search-pretty
from this flake you should be able to use this bash function as nix-search
.
nix-search() {
nix search --json "$@" | nix-search-pretty
}
dramforever commented
I've added nix-search
to this flake in 88412ac. It should work out of the box with no changes to nixpkgs.
DieracDelta commented
This is super helpful, thanks! I ended up applying the patch to nix manually. Should have looked closer at this flake's outputs. In any case, really nice work!
dramforever commented
Applying the patch manually is also a good way to use this repository, I'd say