diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-04-18 09:05:00 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-04-18 09:05:00 +0200 |
commit | 8d491ec6c69b8649a7f4824f304e5e29ebdf6e00 (patch) | |
tree | 1f6a75e8d90a767ae91fdd171c72d74d3b5cb963 /doc | |
parent | 8cf393bf481b1b11be6491787a1efce21414a990 (diff) |
Python docs: Python 2.x namespace packages may collide when using .withPackages
Diffstat (limited to 'doc')
-rw-r--r-- | doc/languages-frameworks/python.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/languages-frameworks/python.md b/doc/languages-frameworks/python.md index da7706726b4c..b127ba2faaee 100644 --- a/doc/languages-frameworks/python.md +++ b/doc/languages-frameworks/python.md @@ -628,6 +628,9 @@ with import <nixpkgs> {}; In contrast to `python.buildEnv`, `python.withPackages` does not support the more advanced options such as `ignoreCollisions = true` or `postBuild`. If you need them, you have to use `python.buildEnv`. +Python 2 namespace packages may provide `__init__.py` that collide. In that case `python.buildEnv` +should be used with `ignoreCollisions = true`. + ### Development mode Development or editable mode is supported. To develop Python packages |