Jump to content

FAQ/Cannot Find Package: Difference between revisions

From NixOS Wiki
imported>Samueldr
m Samueldr moved page FAQ/notfound to FAQ/Cannot Find Package: → Better URL
m Tweeki cleanup
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{FAQ/breadcrumb}}{{#tweekihide:firstHeading}}<onlyinclude>
{{FAQ/breadcrumb}}<onlyinclude>
== 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:
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 unfree, like e.g. ''unrar'' and ''teamspeak_client''; see [[Unfree software]] for more information
* 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
* 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
</onlyinclude>
</onlyinclude>

Latest revision as of 17:04, 17 April 2025

I cannot find $package when running nix-env -qaP 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; see Unfree software for more information
  • the package is part of an attribute set and nix-env doesn't recurse into this set (see pkgs.recurseIntoAttrs), use nix-env -qaP -A haskellPackages for listing these entries