pythonPackages: simplify function

This commit is contained in:
Sandro Jäckel
2022-03-29 19:31:28 +02:00
parent 32263223db
commit ba60b643b9
+1 -2
View File
@@ -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: