makeSearchPathOutputs: refactor to makeSearchPathOutput

This commit is contained in:
Nikolay Amiantov
2016-04-25 13:24:39 +03:00
parent 7d3e75827b
commit ab0a0c004e
18 changed files with 21 additions and 22 deletions
@@ -51,7 +51,7 @@ mkDerivation rec {
[ out git bazaar cvs darcs fossil mercurial
monotone rcs src subversion cvs_fast_export ]
);
pythonpath = makeSearchPathOutputs python27.sitePackages ["lib"] (
pythonpath = makeSearchPathOutput "lib" python27.sitePackages (
filter (x: x != null)
[ python27Packages.readline or null python27Packages.hglib or null ]
);