@@ -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;