Skip to content
  • Edsko de Vries's avatar
    Actually _use_ setup deps in configure and co · ba317c2c
    Edsko de Vries authored
    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.
    ba317c2c