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

11 lines
279 B
Bash
Raw Normal View History

# 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