Update Python documentation overlay

Using a recursive attribute set is not recommended.
This commit is contained in:
Matthew Pickering 2018-06-30 16:35:49 +01:00 committed by GitHub
parent e5b02664aa
commit 11551f06e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1029,7 +1029,7 @@ To alter a python package using overlays, you would use the following approach:
```nix
self: super:
rec {
{
python = super.python.override {
packageOverrides = python-self: python-super: {
bepasty-server = python-super.bepasty-server.overrideAttrs ( oldAttrs: {
@ -1041,7 +1041,7 @@ rec {
});
};
};
pythonPackages = python.pkgs;
pythonPackages = self.python.pkgs;
}
```