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 | |
parent | d614edeb32684eae23a18ce7c46b82588f697056 (diff) | |
download | nixpkgs-f1ff85e61df0401ec1baabe4d33aee35f7bc42e0.tar nixpkgs-f1ff85e61df0401ec1baabe4d33aee35f7bc42e0.tar.gz nixpkgs-f1ff85e61df0401ec1baabe4d33aee35f7bc42e0.tar.bz2 nixpkgs-f1ff85e61df0401ec1baabe4d33aee35f7bc42e0.tar.lz nixpkgs-f1ff85e61df0401ec1baabe4d33aee35f7bc42e0.tar.xz nixpkgs-f1ff85e61df0401ec1baabe4d33aee35f7bc42e0.tar.zst nixpkgs-f1ff85e61df0401ec1baabe4d33aee35f7bc42e0.zip |
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')
-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 1dc111114bd..77b387dd302 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 ``` |