summary refs log tree commit diff
path: root/doc/languages-frameworks
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2018-07-03 17:19:18 +0200
committerRobert Schütz <rschuetz17@gmail.com>2018-07-03 17:19:18 +0200
commit79ab3370ed0ae6c840fad2d25fcc52ffb3d062f6 (patch)
tree6fa3de6dc01903f18c6b53438ef0e2cd2dc20e70 /doc/languages-frameworks
parent2f3cf5830971b64a38c2b0bd7068026da92477f4 (diff)
downloadnixlib-79ab3370ed0ae6c840fad2d25fcc52ffb3d062f6.tar
nixlib-79ab3370ed0ae6c840fad2d25fcc52ffb3d062f6.tar.gz
nixlib-79ab3370ed0ae6c840fad2d25fcc52ffb3d062f6.tar.bz2
nixlib-79ab3370ed0ae6c840fad2d25fcc52ffb3d062f6.tar.lz
nixlib-79ab3370ed0ae6c840fad2d25fcc52ffb3d062f6.tar.xz
nixlib-79ab3370ed0ae6c840fad2d25fcc52ffb3d062f6.tar.zst
nixlib-79ab3370ed0ae6c840fad2d25fcc52ffb3d062f6.zip
manual: fix buildPythonPackage example (#42866)
Diffstat (limited to 'doc/languages-frameworks')
-rw-r--r--doc/languages-frameworks/python.section.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md
index 8cdee6a3f00b..298920ce166b 100644
--- a/doc/languages-frameworks/python.section.md
+++ b/doc/languages-frameworks/python.section.md
@@ -436,7 +436,7 @@ Let's split the package definition from the environment definition.
 We first create a function that builds `toolz` in `~/path/to/toolz/release.nix`
 
 ```nix
-{ pkgs, buildPythonPackage }:
+{ lib, pkgs, buildPythonPackage }:
 
 buildPythonPackage rec {
   pname = "toolz";
@@ -447,7 +447,7 @@ buildPythonPackage rec {
     sha256 = "43c2c9e5e7a16b6c88ba3088a9bfc82f7db8e13378be7c78d6c14a5f8ed05afd";
   };
 
-  meta = {
+  meta = with lib; {
     homepage = "http://github.com/pytoolz/toolz/";
     description = "List processing tools and functional utilities";
     license = licenses.bsd3;