stack-2.14.0: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageGHC2021

Stack.Types.PackageFile

Description

The facility for retrieving all files from the main Stack Package type. This was moved into its own module to allow component-level file-gathering without circular dependency at the Package level.

Synopsis

Documentation

data GetPackageFileContext Source #

Instances

Instances details
HasPantryConfig GetPackageFileContext Source # 
Instance details

Defined in Stack.Types.PackageFile

HasLogFunc GetPackageFileContext Source # 
Instance details

Defined in Stack.Types.PackageFile

HasProcessContext GetPackageFileContext Source # 
Instance details

Defined in Stack.Types.PackageFile

HasTerm GetPackageFileContext Source # 
Instance details

Defined in Stack.Types.PackageFile

HasStylesUpdate GetPackageFileContext Source # 
Instance details

Defined in Stack.Types.PackageFile

HasBuildConfig GetPackageFileContext Source # 
Instance details

Defined in Stack.Types.PackageFile

HasConfig GetPackageFileContext Source # 
Instance details

Defined in Stack.Types.PackageFile

HasGHCVariant GetPackageFileContext Source # 
Instance details

Defined in Stack.Types.PackageFile

HasPlatform GetPackageFileContext Source # 
Instance details

Defined in Stack.Types.PackageFile

HasRunner GetPackageFileContext Source # 
Instance details

Defined in Stack.Types.PackageFile

data DotCabalPath Source #

A path resolved from the Cabal file, which is either main-is or an exposedinternalreferenced module.

newtype GetPackageFiles Source #

Files that the package depends on, relative to package directory. Argument is the location of the Cabal file

Instances

Instances details
Show GetPackageFiles Source # 
Instance details

Defined in Stack.Types.PackageFile

data PackageWarning Source #

Warning generated when reading a package

Constructors

UnlistedModulesWarning NamedComponent [ModuleName]

Modules found that are not listed in Cabal file TODO: bring this back - see https://github.com/commercialhaskell/stack/issues/2649