Use the --extra-prog-path flag in cabal-install
We have to pass it properly in the setupWrapper. For the external build method we just set the $PATH rather than passing the flag. This way it works when talking to Setup.hs built with an older Cabal lib.
Showing with 19 additions and 7 deletions