pythonPackages: Add a callPackage attribute.

This is to allow for easy overriding using <some_pkg>.override <overrides> and
might be used by other python modules not directly in pythonPackages.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2013-07-02 16:57:10 +02:00
parent 56518d73b8
commit 5d06f7aa5a
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -13,6 +13,8 @@ pythonPackages = python.modules // rec {
# helpers
callPackage = pkgs.lib.callPackageWith (pkgs // pythonPackages);
buildPythonPackage = import ../development/python-modules/generic {
inherit (pkgs) lib;
inherit python wrapPython setuptools recursivePthLoader offlineDistutils;