mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-15 05:59:17 +03:00
docs/language-frameworks/python: specify how to add non-python runtime deps
This commit is contained in:
parent
d1cde1b920
commit
bbfc8ef1e6
1 changed files with 3 additions and 0 deletions
|
@ -2016,6 +2016,9 @@ The following rules are desired to be respected:
|
||||||
and using a `-` as delimiter.
|
and using a `-` as delimiter.
|
||||||
* Attribute names in `python-packages.nix` should be sorted alphanumerically to
|
* Attribute names in `python-packages.nix` should be sorted alphanumerically to
|
||||||
avoid merge conflicts and ease locating attributes.
|
avoid merge conflicts and ease locating attributes.
|
||||||
|
* Non-python runtime dependencies should be added via explicit wrapping or
|
||||||
|
patching (using e.g. `substituteInPlace`), rather than through propagation via
|
||||||
|
`dependencies`/`propagatedBuildInputs`, to reduce clutter in `$PATH`.
|
||||||
|
|
||||||
This list is useful for reviewers as well as for self-checking when submitting packages.
|
This list is useful for reviewers as well as for self-checking when submitting packages.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue