From 3befade691f7e08fa8906b665d4cbb138e720156 Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Fri, 28 Oct 2022 12:00:00 +0000 Subject: doc: fix python module override example --- doc/languages-frameworks/python.section.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/languages-frameworks/python.section.md') diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index fa7aa3ec924..1723a1337e5 100644 --- a/doc/languages-frameworks/python.section.md +++ b/doc/languages-frameworks/python.section.md @@ -1670,9 +1670,9 @@ If you need to change a package's attribute(s) from `configuration.nix` you coul ```nix nixpkgs.config.packageOverrides = super: { - python = super.python.override { + python3 = super.python3.override { packageOverrides = python-self: python-super: { - twisted = python-super.twisted.overrideAttrs (oldAttrs: { + twisted = python-super.twisted.overridePythonAttrs (oldAttrs: { src = super.fetchPypi { pname = "twisted"; version = "19.10.0"; -- cgit 1.4.1