diff --git a/pkgs/development/python-modules/generic/catch_conflicts.py b/pkgs/development/python-modules/generic/catch_conflicts.py index 35512bb44d3..bb82900c65a 100644 --- a/pkgs/development/python-modules/generic/catch_conflicts.py +++ b/pkgs/development/python-modules/generic/catch_conflicts.py @@ -9,7 +9,7 @@ for f in sys.path: for req in pkg_resources.find_distributions(f): if req not in packages[req.project_name]: # some exceptions inside buildPythonPackage - if req.project_name in ['setuptools', 'pip']: + if req.project_name in ['setuptools', 'pip', 'wheel']: continue packages[req.project_name].append(req) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8da5f111b7c..176a975d5bf 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -23607,6 +23607,9 @@ in modules // { propagatedBuildInputs = with self; [ jsonschema ]; + # We add this flag to ignore the copy installed by bootstrapped-pip + installFlags = [ "--ignore-installed" ]; + meta = { description = "A built-package format for Python"; license = with licenses; [ mit ];