-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Description
I was under the impression that pre/post hooks were available to users. But in the case of python packages, or rather the standard buildPythonPackage function, uses postFixup for itself. This makes it a bit cumbersome if you want to do something custom after the wrapping has taken place (without manually copying the postFixup hook from buildPythonPackage...).
I don't know whether this is best fixed by adding another kind of phase, or if the wrapping currently done in postFixup should be moved to the end of installPhase (before calling postInstall).
The use case I had in mind was to generate bash-completion files for python programs that use "click" or "argh". But to do that we need to be able to run the wrapped python program at the end of the build/install phase.