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
Line 3: Line 3:


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>

Revision as of 05:45, 21 June 2024

{{#tweekihide:firstHeading}}

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