Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Hix.Managed.Build
Synopsis
- logBuildInputs :: EnvName -> Text -> [PackageId] -> M ()
- logBuildResult :: Text -> BuildResult -> M ()
- updateMutationState :: (Version -> VersionBounds -> VersionBounds) -> Versions -> Overrides -> MutationState -> MutationState
- buildVersions :: EnvBuilder -> EnvContext -> Text -> Versions -> [PackageId] -> M (Overrides, BuildStatus)
- buildConstraints :: EnvBuilder -> EnvContext -> Text -> SolverState -> M (Maybe (Versions, Overrides, BuildStatus))
- buildMutation :: EnvBuilder -> EnvContext -> MutationState -> BuildMutation -> M (Maybe MutationState)
- logMutationResult :: MutableDep -> MutationResult s -> M ()
- validateMutation :: EnvBuilder -> EnvContext -> MutationHandlers a s -> StageState a s -> DepMutation a -> M (StageState a s)
- convergeMutations :: Pretty a => MutationHandlers a s -> BuildConfig -> EnvBuilder -> EnvContext -> StageState a s -> [DepMutation a] -> M (StageState a s)
- reinstallableCandidates :: (QueryDep -> M (Maybe (DepMutation a))) -> Query -> M [DepMutation a]
- processQuery :: Pretty a => (QueryDep -> M (Maybe (DepMutation a))) -> MutationHandlers a s -> BuildConfig -> StageContext -> s -> M (StageState a s)
Documentation
logBuildResult :: Text -> BuildResult -> M () Source #
updateMutationState :: (Version -> VersionBounds -> VersionBounds) -> Versions -> Overrides -> MutationState -> MutationState Source #
buildVersions :: EnvBuilder -> EnvContext -> Text -> Versions -> [PackageId] -> M (Overrides, BuildStatus) Source #
Note: This quietly discards non-reinstallable packages.
TODO Discard installed versions, for builds with initial versions.
buildConstraints :: EnvBuilder -> EnvContext -> Text -> SolverState -> M (Maybe (Versions, Overrides, BuildStatus)) Source #
buildMutation :: EnvBuilder -> EnvContext -> MutationState -> BuildMutation -> M (Maybe MutationState) Source #
logMutationResult :: MutableDep -> MutationResult s -> M () Source #
validateMutation :: EnvBuilder -> EnvContext -> MutationHandlers a s -> StageState a s -> DepMutation a -> M (StageState a s) Source #
convergeMutations :: Pretty a => MutationHandlers a s -> BuildConfig -> EnvBuilder -> EnvContext -> StageState a s -> [DepMutation a] -> M (StageState a s) Source #
reinstallableCandidates :: (QueryDep -> M (Maybe (DepMutation a))) -> Query -> M [DepMutation a] Source #
processQuery :: Pretty a => (QueryDep -> M (Maybe (DepMutation a))) -> MutationHandlers a s -> BuildConfig -> StageContext -> s -> M (StageState a s) Source #