Update Python documentation overlay
Using a recursive attribute set is not recommended.
commit11551f06e2b3f09df57365b175494679c14bc2e3
authorMatthew Pickering <matthewtpickering@gmail.com>
dateSat 30 Jun 2018, 16:35 (8 years ago)
parente5b0266
doc/languages-frameworks/python.section.md+2−2
@@ -1029,7 +1029,7 @@ To alter a python package using overlays, you would use the following approach:
10291029
10301030```nix
10311031self: super:
1032−rec {
1032+{
10331033 python = super.python.override {
10341034 packageOverrides = python-self: python-super: {
10351035 bepasty-server = python-super.bepasty-server.overrideAttrs ( oldAttrs: {
@@ -1041,7 +1041,7 @@ rec {
10411041 });
10421042 };
10431043 };
1044− pythonPackages = python.pkgs;
1044+ pythonPackages = self.python.pkgs;
10451045}
10461046```
10471047