Actually _use_ setup deps in configure and co
The only problematic thing is that when we call `cabal clean` or `cabal haddock` (and possibly others), _without_ first having called `configure`, we attempt to build the setup script without calling the solver at all. This means that if you do, say, cabal configure cabal clean cabal clean for a package with a custom setup script that really needs setup dependencies (for instance, because there are two versions of Cabal in the global package DB and the setup script needs the _older_ one), then first call to `clean` will succeed, but the second call will fail because we will try to build the setup script without the solver and that will fail.
Showing
- cabal-install/Distribution/Client/Configure.hs 101 additions, 32 deletionscabal-install/Distribution/Client/Configure.hs
- cabal-install/Distribution/Client/Install.hs 15 additions, 27 deletionscabal-install/Distribution/Client/Install.hs
- cabal-install/Distribution/Client/SetupWrapper.hs 26 additions, 3 deletionscabal-install/Distribution/Client/SetupWrapper.hs
Loading
Please register or sign in to comment