pythonPackages: simplify function
This commit is contained in:
@@ -65,8 +65,7 @@ let
|
||||
# providing Python modules.
|
||||
makePythonPath = drvs: lib.makeSearchPath python.sitePackages (requiredPythonModules drvs);
|
||||
|
||||
removePythonPrefix = name:
|
||||
removePrefix namePrefix name;
|
||||
removePythonPrefix = lib.removePrefix namePrefix;
|
||||
|
||||
# Convert derivation to a Python module.
|
||||
toPythonModule = drv:
|
||||
|
||||
Reference in New Issue
Block a user