Python: rewrite requiredPythonModules. Add requiredPythonModules attribute to derivation

This commit is contained in:
Frederik Rietdijk
2017-12-10 14:20:38 +01:00
parent 87317bab0a
commit a334930490
3 changed files with 11 additions and 18 deletions

View File

@@ -7,7 +7,7 @@
, setuptools
, unzip
, ensureNewerSourcesHook
, pythonModule
, toPythonModule
, namePrefix
, bootstrapped-pip
, flit
@@ -19,7 +19,7 @@ let
wheel-specific = import ./build-python-package-wheel.nix { };
common = import ./build-python-package-common.nix { inherit python bootstrapped-pip; };
mkPythonDerivation = import ./mk-python-derivation.nix {
inherit lib python wrapPython setuptools unzip ensureNewerSourcesHook pythonModule namePrefix;
inherit lib python wrapPython setuptools unzip ensureNewerSourcesHook toPythonModule namePrefix;
};
in