git.iko.soy/typeable/nixpkgs
on master help sign in
manual: fix buildPythonPackage example (#42866)
commit79ab3370ed0ae6c840fad2d25fcc52ffb3d062f6 authorAlyssa Ross <hi@alyssa.is> dateTue 3 Jul 2018, 17:19 (8 years ago) parent2f3cf58
1 file changed+2−2
doc/languages-frameworks/python.section.md+2−2
doc/languages-frameworks/python.section.md+2−2
@@ -436,7 +436,7 @@ Let's split the package definition from the environment definition.
436436We first create a function that builds `toolz` in `~/path/to/toolz/release.nix`
437437
438438```nix
439−{ pkgs, buildPythonPackage }:
439+{ lib, pkgs, buildPythonPackage }:
440440
441441buildPythonPackage rec {
442442 pname = "toolz";
@@ -447,7 +447,7 @@ buildPythonPackage rec {
447447 sha256 = "43c2c9e5e7a16b6c88ba3088a9bfc82f7db8e13378be7c78d6c14a5f8ed05afd";
448448 };
449449
450− meta = {
450+ meta = with lib; {
451451 homepage = "http://github.com/pytoolz/toolz/";
452452 description = "List processing tools and functional utilities";
453453 license = licenses.bsd3;