mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
buildPythonPackage: catch_conflicts should ignore pip
This commit is contained in:
parent
dfee078df4
commit
6ba529277a
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@ packages = collections.defaultdict(list)
|
|||
for f in sys.path:
|
||||
for req in pkg_resources.find_distributions(f):
|
||||
if req not in packages[req.project_name]:
|
||||
if req.project_name == 'setuptools':
|
||||
# some exceptions inside buildPythonPackage
|
||||
if req.project_name in ['setuptools', 'pip']:
|
||||
continue
|
||||
packages[req.project_name].append(req)
|
||||
|
Loading…
Reference in a new issue