about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2017-08-13 09:50:47 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2017-08-13 09:50:47 +0200
commit2a8cd14d5f6e6df9c0dc466ff11844329fc3b6b2 (patch)
tree689709d364ea0b98f8b1119acaff9ab84be6eebf /doc
parent60730cb04351a4ab3ecde1d36b2d441762defb6e (diff)
parentef026e02fcaa92323be875d8c7146b0b86e31880 (diff)
Merge remote-tracking branch 'upstream/master' into HEAD
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/python.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/languages-frameworks/python.md b/doc/languages-frameworks/python.md
index c8add96a14828..c100c9d0c20ac 100644
--- a/doc/languages-frameworks/python.md
+++ b/doc/languages-frameworks/python.md
@@ -547,7 +547,7 @@ All parameters from `mkDerivation` function are still supported.
 
 ##### Overriding Python packages
 
-The `buildPythonPackage` function has a `overridePythonPackage` method that
+The `buildPythonPackage` function has a `overridePythonAttrs` method that
 can be used to override the package. In the following example we create an
 environment where we have the `blaze` package using an older version of `pandas`.
 We override first the Python interpreter and pass
@@ -559,7 +559,7 @@ with import <nixpkgs> {};
 (let
   python = let
     packageOverrides = self: super: {
-      pandas = super.pandas.overridePythonPackage(old: rec {
+      pandas = super.pandas.overridePythonAttrs(old: rec {
         version = "0.19.1";
         name = "pandas-${version}";
         src =  super.fetchPypi {
@@ -786,7 +786,7 @@ with import <nixpkgs> {};
 (let
   python = let
     packageOverrides = self: super: {
-      pandas = super.pandas.overridePythonPackage(old: {name="foo";});
+      pandas = super.pandas.overridePythonAttrs(old: {name="foo";});
     };
   in pkgs.python35.override {inherit packageOverrides;};