Closed TAAPArthur closed 3 years ago
Sourcing hooks enables a lot of configuration potential but also opens a hole whereby package manager internals can be modified. These internals are not stable and are subject to change at any time. It is still on my TODO list to overhaul hooks but I do not have the time at the moment.
Thanks for the PR.
Source hooks rather than running them in a separate shell. This restores the ability to modify environmental variables like CC from hooks.
My specific use case is to be able to change compilers from tcc to gcc depending on the package because some programs don't compile with tcc.