aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/CabalHelper/Shared')
-rw-r--r--src/CabalHelper/Shared/InterfaceTypes.hs6
1 files changed, 4 insertions, 2 deletions
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