hix-0.7.0: Haskell/Nix development build tools
Safe HaskellSafe-Inferred
LanguageGHC2021

Hix.Managed.Data.Constraints

Synopsis

Documentation

data MutationConstraints Source #

Left-biased semigroup op.

TODO it might be sensible to split the non-mutation deps out of this type so it can be keyed by MutableDep.

Constructors

MutationConstraints 

Fields

  • mutation :: VersionBounds

    This used to be an abstraction, but there was no use case for it. Now it is hardcoded to use inclusive bounds for both, so a potential new mutation handler cannot customize that. All handlers only evolve one of the bounds, while this now allows both to be changed.

  • oldest :: Maybe Bool

    Prefer the oldest possible version.

  • installed :: Maybe Bool

    Prefer the installed version.

  • force :: Maybe VersionRange

    Concrete bounds overrides from user config.

  • prefer :: Maybe VersionRange

    Prefer a concrete version range.

Instances

Instances details
Pretty MutationConstraints Source # 
Instance details

Defined in Hix.Managed.Data.Constraints

Monoid MutationConstraints Source # 
Instance details

Defined in Hix.Managed.Data.Constraints

Semigroup MutationConstraints Source # 
Instance details

Defined in Hix.Managed.Data.Constraints

Generic MutationConstraints Source # 
Instance details

Defined in Hix.Managed.Data.Constraints

Associated Types

type Rep MutationConstraints :: Type -> Type #

Show MutationConstraints Source # 
Instance details

Defined in Hix.Managed.Data.Constraints

Eq MutationConstraints Source # 
Instance details

Defined in Hix.Managed.Data.Constraints

NMap EnvConstraints PackageName MutationConstraints LookupMaybe Source # 
Instance details

Defined in Hix.Managed.Data.Constraints

type Rep MutationConstraints Source # 
Instance details

Defined in Hix.Managed.Data.Constraints

newtype EnvConstraints Source #

Instances

Instances details
Pretty EnvConstraints Source # 
Instance details

Defined in Hix.Managed.Data.Constraints

Monoid EnvConstraints Source # 
Instance details

Defined in Hix.Managed.Data.Constraints

Semigroup EnvConstraints Source # 
Instance details

Defined in Hix.Managed.Data.Constraints

Generic EnvConstraints Source # 
Instance details

Defined in Hix.Managed.Data.Constraints

Associated Types

type Rep EnvConstraints :: Type -> Type #

IsList EnvConstraints Source # 
Instance details

Defined in Hix.Managed.Data.Constraints

Associated Types

type Item EnvConstraints #

Show EnvConstraints Source # 
Instance details

Defined in Hix.Managed.Data.Constraints

Eq EnvConstraints Source # 
Instance details

Defined in Hix.Managed.Data.Constraints

HasField "constraints" SolverState EnvConstraints Source # 
Instance details

Defined in Hix.Managed.Cabal.Data.SolverState

NMap EnvConstraints PackageName MutationConstraints LookupMaybe Source # 
Instance details

Defined in Hix.Managed.Data.Constraints

type Rep EnvConstraints Source # 
Instance details

Defined in Hix.Managed.Data.Constraints

type Rep EnvConstraints = D1 ('MetaData "EnvConstraints" "Hix.Managed.Data.Constraints" "hix-0.7.0-1RsI1H0rYs1Kacz9sjlUfZ" 'True) (C1 ('MetaCons "EnvConstraints" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map PackageName MutationConstraints))))
type Item EnvConstraints Source # 
Instance details

Defined in Hix.Managed.Data.Constraints