diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2019-07-05 13:55:45 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-07-05 13:56:03 +0200 |
commit | f1ff85e61df0401ec1baabe4d33aee35f7bc42e0 (patch) | |
tree | 3701eca31a7453d9c71e2a60ed5f73bc118f430d /doc/languages-frameworks | |
parent | d614edeb32684eae23a18ce7c46b82588f697056 (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')
-rw-r--r-- | doc/languages-frameworks/python.section.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index 1dc111114bdb2..77b387dd3025f 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 ``` |