summaryrefslogtreecommitdiffstats
path: root/doc/languages-frameworks/python.section.md
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-07-05 13:55:45 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2019-07-05 13:56:03 +0200
commitf1ff85e61df0401ec1baabe4d33aee35f7bc42e0 (patch)
tree3701eca31a7453d9c71e2a60ed5f73bc118f430d /doc/languages-frameworks/python.section.md
parentd614edeb32684eae23a18ce7c46b82588f697056 (diff)
Docs Python: fix example on how to override the package set
Not passing in the newly created interpreter as `self` results in an incorrect `passthru`. Solves #64334.
Diffstat (limited to 'doc/languages-frameworks/python.section.md')
-rw-r--r--doc/languages-frameworks/python.section.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md
index 1dc111114bdb..77b387dd3025 100644
--- a/doc/languages-frameworks/python.section.md
+++ b/doc/languages-frameworks/python.section.md
@@ -636,7 +636,7 @@ with import <nixpkgs> {};
};
});
};
- in pkgs.python3.override {inherit packageOverrides;};
+ in pkgs.python3.override {inherit packageOverrides; self = python;};
in python.withPackages(ps: [ps.blaze])).env
```