Revert "python2/mk-python-derivation: disable catchConflictsHook"

This reverts commit 397a8fd06b.

The hook now uses the old implementation based on the deprecated
pkg_resources library provided by setuptools again.
This commit is contained in:
Martin Weinelt 2023-11-18 12:58:15 +01:00
parent f292ef4958
commit d9327a53de

View File

@ -57,8 +57,7 @@
# Raise an error if two packages are installed with the same name
# TODO: For cross we probably need a different PYTHONPATH, or not
# add the runtime deps until after buildPhase.
# FIXME: disabled for Python 2 because broken
, catchConflicts ? false
, catchConflicts ? (python.stdenv.hostPlatform == python.stdenv.buildPlatform)
# Additional arguments to pass to the makeWrapper function, which wraps
# generated binaries.