On Mon, Mar 31, 2014 at 1:35 AM, Kirill Elagin <[email protected]> wrote: > > You'll have to look it up in `pkgs/top-level/all-packages.nix`. > Either clone the nixpkgs repository or you can find a copy at > `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`. >
Oh, and there is also `nix-env -qa` thing, that lists all the available packages. It has `-P` flag that tells it to print attribute paths. Combined with grep this lets you find what you need: % nix-env -qaP | grep kdepim nixos.pkgs.kde4_prev.kdepim kdepim-4.10.5 nixos.pkgs.kde4.kdepim kdepim-4.11.5 nixos.pkgs.kde4_next.kdepim kdepim-4.12.2 ... Yes, that takes some time. I don't know if there exists a faster way to search nix expressions, probably, unfortunately, not.
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
