Jump to content

FAQ/Cannot Find Package: Difference between revisions

From NixOS Wiki
m Tweeki cleanup
 
(One intermediate revision by one other user 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 [[Unfree Software]] for more information
* 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