mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 12:43:52 +00:00
8895944c57
Most packages were fixed up on python-unstable branch.
This reverts commit 3ff2d9362c
.
11 lines
338 B
Bash
11 lines
338 B
Bash
# Setup hook for detecting conflicts in Python packages
|
|
echo "Sourcing python-catch-conflicts-hook.sh"
|
|
|
|
pythonCatchConflictsPhase() {
|
|
PYTHONPATH="@setuptools@/@pythonSitePackages@:$PYTHONPATH" @pythonInterpreter@ @catchConflicts@
|
|
}
|
|
|
|
if [ -z "${dontUsePythonCatchConflicts-}" ]; then
|
|
preDistPhases+=" pythonCatchConflictsPhase"
|
|
fi
|