mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 13:57:36 +00:00
pkgs/by-name: Mention possibility of avoiding alternate callPackage's
This is preferred over using the category hierarchy Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
This commit is contained in:
parent
5ec449a6be
commit
6f2be7c095
@ -99,7 +99,9 @@ There's some limitations as to which packages can be defined using this structur
|
||||
- Only packages defined using `pkgs.callPackage`.
|
||||
This excludes packages defined using `pkgs.python3Packages.callPackage ...`.
|
||||
|
||||
Instead use the [category hierarchy](../README.md#category-hierarchy) for such attributes.
|
||||
Instead:
|
||||
- Either change the package definition to work with `pkgs.callPackage`.
|
||||
- Or use the [category hierarchy](../README.md#category-hierarchy).
|
||||
|
||||
- Only top-level packages.
|
||||
This excludes packages for other package sets like `pkgs.pythonPackages.*`.
|
||||
|
Loading…
Reference in New Issue
Block a user