From 11551f06e2b3f09df57365b175494679c14bc2e3 Mon Sep 17 00:00:00 2001 From: Matthew Pickering Date: Sat, 30 Jun 2018 16:35:49 +0100 Subject: [PATCH] Update Python documentation overlay Using a recursive attribute set is not recommended. --- doc/languages-frameworks/python.section.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index c4a5bb0612c9..8cdee6a3f00b 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; } ```