Revert "Revert "buildPython*: store dist (wheel/sdist) in dist output""
Most packages were fixed on python-unstable.
This reverts commit 0a4898c21a.
This commit is contained in:
@@ -114,6 +114,11 @@ in rec {
|
||||
};
|
||||
} ./python-namespaces-hook.sh) {};
|
||||
|
||||
pythonOutputDistHook = callPackage ({ }:
|
||||
makeSetupHook {
|
||||
name = "python-output-dist-hook";
|
||||
} ./python-output-dist-hook.sh ) {};
|
||||
|
||||
pythonRecompileBytecodeHook = callPackage ({ }:
|
||||
makeSetupHook {
|
||||
name = "python-recompile-bytecode-hook";
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
# 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"
|
||||
Reference in New Issue
Block a user