brainix/sources/nixpkgs/pkgs/development/interpreters/python/hooks/python-catch-conflicts-hook.sh
2026-02-13 17:06:24 +09:00

10 lines
279 B
Bash

# Setup hook for detecting conflicts in Python packages
echo "Sourcing python-catch-conflicts-hook.sh"
pythonCatchConflictsPhase() {
@pythonInterpreter@ @catchConflicts@
}
if [ -z "${dontUsePythonCatchConflicts-}" ]; then
preDistPhases+=" pythonCatchConflictsPhase"
fi