mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
2811b032d6
Go beyond the obvious setup hooks now, with a bit of sed, with a skipped case: - cc-wrapper's `dontlink`, because it already is handled. Also, in nix files escaping was manually added. EMP
11 lines
279 B
Bash
11 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
|