FAQ: Difference between revisions

imported>Asymmetric
m What are channels and how they get updated?: Add link to Nix Channels page
imported>Makefu
Line 310: Line 310:
== I cannot find $package when running <code>nix-env -qaP</code> even with channels configured ==
== I cannot find $package when running <code>nix-env -qaP</code> even with channels configured ==


Not all packages are listed. Packages may not be listed because: - the package is unfree, like e.g. ''unrar'' and ''teamspeak_client''; - the package is part of an attribute set and <code>nix-env</code> doesn't recurse into this set (see ''pkgs.recurseIntoAttrs'')
Not all packages are listed. Packages may not be listed because:
* the package is unfree, like e.g. ''unrar'' and ''teamspeak_client''; see [[FAQ#How_can_I_install_a_proprietary_or_unfree_package.3F|The appropriate FAQ entry for installing unfree packages]]
* the package is part of an attribute set and <code>nix-env</code> doesn't recurse into this set (see ''pkgs.recurseIntoAttrs''), use <code>nix-env -qaP -A haskellPackages</code> for listing these entries


== How can I install a proprietary or unfree package? ==
== How can I install a proprietary or unfree package? ==