Kirill Elagin wrote: > On Mon, Mar 31, 2014 at 1:35 AM, Kirill Elagin <kirela...@gmail.com> > 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 > ...
Thanks, this is very useful! Cheers Ben -- "Make it so they have to reboot after every typo." -- Scott Adams _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev