Files
nixpkgs/pkgs/development/interpreters/python/hooks/python-catch-conflicts-hook.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
346 B
Bash
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
# 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
appendToVar preDistPhases pythonCatchConflictsPhase
fi