Visitar URL original
Stack.Types.ConfigExtra
stack
LicenseBSD-3-Clause
Safe HaskellNone
LanguageGHC2024

Stack.Types.ConfigExtra

Description

 
Synopsis

Documentation

data ConfigExtra Source #

A type that represents Config values together with some extra information

Constructors

ConfigExtra 

Fields

  • config :: !Config
     
  • mSnapshot :: !(Maybe RawSnapshotLocation)
     
  • project :: !Project
     
  • configFile :: !(Either (Path Abs File) (Path Abs File))

    Either (Left) the location of the user-specific global configuration file or, in most cases, (Right) the location of the project-level coniguration file (stack.yaml, by default).

    Note: if the STACK_YAML environment variable is used, the location of the project-level configuration file may be different from projectRootL / "stack.yaml" if a different file name is used.