summary refs log tree commit diff
path: root/doc/languages-frameworks/python.md
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2017-04-18 09:05:00 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2017-04-18 09:05:00 +0200
commit8d491ec6c69b8649a7f4824f304e5e29ebdf6e00 (patch)
tree1f6a75e8d90a767ae91fdd171c72d74d3b5cb963 /doc/languages-frameworks/python.md
parent8cf393bf481b1b11be6491787a1efce21414a990 (diff)
downloadnixpkgs-8d491ec6c69b8649a7f4824f304e5e29ebdf6e00.tar
nixpkgs-8d491ec6c69b8649a7f4824f304e5e29ebdf6e00.tar.gz
nixpkgs-8d491ec6c69b8649a7f4824f304e5e29ebdf6e00.tar.bz2
nixpkgs-8d491ec6c69b8649a7f4824f304e5e29ebdf6e00.tar.lz
nixpkgs-8d491ec6c69b8649a7f4824f304e5e29ebdf6e00.tar.xz
nixpkgs-8d491ec6c69b8649a7f4824f304e5e29ebdf6e00.tar.zst
nixpkgs-8d491ec6c69b8649a7f4824f304e5e29ebdf6e00.zip
Python docs: Python 2.x namespace packages may collide when using .withPackages
Diffstat (limited to 'doc/languages-frameworks/python.md')
-rw-r--r--doc/languages-frameworks/python.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/languages-frameworks/python.md b/doc/languages-frameworks/python.md
index da7706726b4..b127ba2faae 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