From f1ff85e61df0401ec1baabe4d33aee35f7bc42e0 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Fri, 5 Jul 2019 13:55:45 +0200 Subject: 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. --- doc/languages-frameworks/python.section.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/languages-frameworks') 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 {}; }; }); }; - in pkgs.python3.override {inherit packageOverrides;}; + in pkgs.python3.override {inherit packageOverrides; self = python;}; in python.withPackages(ps: [ps.blaze])).env ``` -- cgit 1.4.1