From 43cac04350f830676f357cead966ab68fa7851a8 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Mon, 21 Jan 2019 23:45:49 +0100 Subject: Fix ciSourceDirs commentary [ci skip] --- src/CabalHelper/Shared/InterfaceTypes.hs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/CabalHelper') diff --git a/src/CabalHelper/Shared/InterfaceTypes.hs b/src/CabalHelper/Shared/InterfaceTypes.hs index c54a508..5cdd98c 100644 --- a/src/CabalHelper/Shared/InterfaceTypes.hs +++ b/src/CabalHelper/Shared/InterfaceTypes.hs @@ -79,8 +79,10 @@ data ChComponentInfo = ChComponentInfo -- ^ Only Haskell language extension related options, i.e. @-XSomeExtension@ , ciSourceDirs :: [String] - -- ^ A component's @source-dirs@ field, beware since if this is empty - -- implicit behaviour in GHC kicks in which you might have to emulate. + -- ^ A component's @hs-source-dirs@ field, note that this only contains the + -- directories specified by the cabal file, however cabal also adds the + -- output directory of preprocessors to GHC's search path when + -- building. TODO: make this easier to use. , ciEntrypoints :: ChEntrypoint -- ^ Modules or files Cabal would have the compiler build directly. Can be -- cgit v1.2.3