query
On this page

requiredPythonModules

pkgs.pythonPackages.requiredPythonModules

Docs pulled from | This Revision | 10 minutes ago


Get list of required Python modules given a list of derivations.


Noogle detected

Implementation

The following is the current implementation of this function.

requiredPythonModules = drvs: let
    modules = lib.filter hasPythonModule drvs;
  in lib.unique ([python] ++ modules ++ lib.concatLists (lib.catAttrs "requiredPythonModules" modules));