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.
This commit is contained in:
Frederik Rietdijk 2019-07-05 13:55:45 +02:00
parent d614edeb32
commit f1ff85e61d

View file

@ -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
```