Cabal-3.14.0.0: A framework for packaging Haskell software
Safe HaskellNone
LanguageHaskell2010

Distribution.Simple.SetupHooks.Errors

Synopsis

Documentation

data SetupHooksException Source #

An error involving the SetupHooks module of a package with Hooks build-type.

Constructors

CannotApplyComponentDiff CannotApplyComponentDiffReason

Cannot apply a diff to a component in a per-component configure hook.

RulesException RulesException

An error with pre-build rules.

data RulesException Source #

AN error involving the Rules in the SetupHooks module of a package with the Hooks build-type.

Constructors

CyclicRuleDependencies (NonEmpty (RuleBinary, [Tree RuleBinary]))

There are cycles in the dependency graph of fine-grained rules.

CantFindSourceForRuleDependencies

When executing fine-grained rules compiled into the external hooks executable, we failed to find dependencies of a rule.

Fields

MissingRuleOutputs

When executing fine-grained rules compiled into the external hooks executable, a rule failed to generate the outputs it claimed it would.

Fields

InvalidRuleOutputIndex

An invalid reference to a rule output, e.g. an out-of-range index.

Fields

DuplicateRuleId !RuleId !Rule !Rule

A duplicate RuleId in the construction of pre-build rules.

Instances

Instances details
Show RulesException Source # 
Instance details

Defined in Distribution.Simple.SetupHooks.Errors