hix-0.8.0: Haskell/Nix development build tools
Safe HaskellNone
LanguageGHC2021

Hix.Managed.Build.Mutation

Synopsis

Documentation

buildCandidate :: (BuildMutation -> M (Maybe (MutationState, Set PackageId))) -> (Version -> VersionBounds -> VersionBounds) -> (MutableId -> PackageId -> MutationConstraints -> MutationConstraints) -> SolverState -> MutableDep -> Version -> M (Maybe (MutableId, SolverState, MutationState, Set PackageId)) Source #

Boilerplate for mutation handlers, could be better.

TODO If we'd use the retract field from DepMutation and the target bound here, we could probably use a universal bounds updater without leaking implementation...investigate.