From 5d06f7aa5ab32856dff4b40d309e81092eae70f5 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 2 Jul 2013 16:57:10 +0200 Subject: [PATCH] pythonPackages: Add a callPackage attribute. This is to allow for easy overriding using .override and might be used by other python modules not directly in pythonPackages. Signed-off-by: aszlig --- pkgs/top-level/python-packages.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b01af3f2cd3..ca3d7286628 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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;