You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary by @ezyang. Install hooks are called when ./Setup install is invoked, but this command was misguided because it's just a combination of copy and register. Some design discussion is at dda6ffe#commitcomment-6290689
After upgrading to cabal 1.20 my custom builds no longer work because of an instHook not being called. I've created a repository that has "die" function in its instHook and still invoking "cabal install" on it doesn't result in an error message.
You may see an example of what I'm talking about in my https://github.com/anton-dessiatov/dummy_cabal repository. I'm expecting that invoking "cabal install" on that dummy project writes "MY INSTALL HOOK!" and fails, but it doesn't print anything and finishes successfully.