Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. SetupFailed :: InstallOutcome

    cabal-install Distribution.Client.BuildReports.Anonymous

    No documentation available.

  2. SetupFailed :: InstallOutcome

    cabal-install Distribution.Client.BuildReports.Types

    No documentation available.

  3. module Distribution.Client.ProjectPlanning.SetupPolicy

    Setup.hs script policy Handling for Setup.hs scripts is a bit tricky, part of it lives in the solver phase, and part in the elaboration phase. We keep the helper functions for both phases together here so at least you can see all of it in one place. There are four major cases for Setup.hs handling:

    1. build-type Custom with a custom-setup section
    2. build-type Custom without a custom-setup section
    3. build-type not Custom with cabal-version > $our-cabal-version
    4. build-type not Custom with cabal-version <= $our-cabal-version
    It's also worth noting that packages specifying cabal-version: >= 1.23 or later that have build-type Custom will always have a custom-setup section. Therefore in case 2, the specified cabal-version will always be less than 1.23. In cases 1 and 2 we obviously have to build an external Setup.hs script, while in case 4 we can use the internal library API.

  4. SetupCustomExplicitDeps :: SetupScriptStyle

    cabal-install Distribution.Client.ProjectPlanning.Types

    No documentation available.

  5. SetupCustomImplicitDeps :: SetupScriptStyle

    cabal-install Distribution.Client.ProjectPlanning.Types

    No documentation available.

  6. SetupNonCustomExternalLib :: SetupScriptStyle

    cabal-install Distribution.Client.ProjectPlanning.Types

    No documentation available.

  7. SetupNonCustomInternalLib :: SetupScriptStyle

    cabal-install Distribution.Client.ProjectPlanning.Types

    No documentation available.

  8. data SetupScriptStyle

    cabal-install Distribution.Client.ProjectPlanning.Types

    There are four major cases for Setup.hs handling:

    1. build-type Custom with a custom-setup section
    2. build-type Custom without a custom-setup section
    3. build-type not Custom with cabal-version > $our-cabal-version
    4. build-type not Custom with cabal-version <= $our-cabal-version
    It's also worth noting that packages specifying cabal-version: >= 1.23 or later that have build-type Custom will always have a custom-setup section. Therefore in case 2, the specified cabal-version will always be less than 1.23. In cases 1 and 2 we obviously have to build an external Setup.hs script, while in case 4 we can use the internal library API. In case 3 we also have to build an external Setup.hs script because the package needs a later Cabal lib version than we can support internally.

  9. module Distribution.Client.Setup

    No documentation available.

  10. module Distribution.Client.SetupWrapper

    An interface to building and installing Cabal packages. If the Built-Type field is specified as something other than Custom, and the current version of Cabal is acceptable, this performs setup actions directly. Otherwise it builds the setup script and runs it with the given arguments.

Page 62 of many | Previous | Next