docs/language-frameworks/python: specify how to add non-python runtime deps (#332792)

This commit is contained in:
Martin Weinelt 2025-04-27 16:50:18 +02:00 committed by GitHub
commit 8a43823c25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2196,6 +2196,9 @@ The following rules are desired to be respected:
and using a `-` as delimiter.
* Attribute names in `python-packages.nix` should be sorted alphanumerically to
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.