FAQ/Cannot Find Package

From NixOS Wiki
Revision as of 20:26, 25 June 2024 by Klinger (talk | contribs) (fixed link to „Unfree software“ (capitalization))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#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