mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
adbc59c9d3
Store the intermediate artifacts. In time, we should build, install and test in separate derivations as that reduces circular dependencies, avoids rebuilds when fixing tests, and makes it possible to use the wheels for creating say virtualenv's.
11 lines
309 B
Bash
11 lines
309 B
Bash
# Setup hook for storing dist folder (wheels/sdists) in a separate output
|
|
echo "Sourcing python-catch-conflicts-hook.sh"
|
|
|
|
pythonOutputDistPhase() {
|
|
echo "Executing pythonOutputDistPhase"
|
|
mv "dist" "$dist"
|
|
echo "Finished executing pythonOutputDistPhase"
|
|
}
|
|
|
|
preFixupPhases+=" pythonOutputDistPhase"
|