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

Stack.Component

Description

All utility functions for Components in Stack (library, internal library, foreign library, executable, tests, benchmarks). In particular, this module gathers all the Cabal-to-Stack component translations, which previously occurred in the Stack.Package module. See Stack.Types.Component for more details about the design choices.

Documentation

isComponentBuildable :: HasBuildInfo component => component -> Bool Source #

componentDependencyMap :: (HasField "buildInfo" r1 r2, HasField "dependency" r2 a) => r1 -> a Source #