diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2018-06-30 16:35:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-30 16:35:49 +0100 |
commit | 11551f06e2b3f09df57365b175494679c14bc2e3 (patch) | |
tree | 383eb72bf7a9e48c2f782743c0a90c3905018bfd /doc | |
parent | e5b02664aa1fcf0b6efacd75d8d812a82feee0ed (diff) | |
download | nixpkgs-11551f06e2b3f09df57365b175494679c14bc2e3.tar nixpkgs-11551f06e2b3f09df57365b175494679c14bc2e3.tar.gz nixpkgs-11551f06e2b3f09df57365b175494679c14bc2e3.tar.bz2 nixpkgs-11551f06e2b3f09df57365b175494679c14bc2e3.tar.lz nixpkgs-11551f06e2b3f09df57365b175494679c14bc2e3.tar.xz nixpkgs-11551f06e2b3f09df57365b175494679c14bc2e3.tar.zst nixpkgs-11551f06e2b3f09df57365b175494679c14bc2e3.zip |
Update Python documentation overlay
Using a recursive attribute set is not recommended.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/languages-frameworks/python.section.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index c4a5bb0612c..8cdee6a3f00 100644 --- a/doc/languages-frameworks/python.section.md +++ b/doc/languages-frameworks/python.section.md @@ -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; } ``` |