aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2019-01-21 23:45:49 +0100
committerDaniel Gröber <dxld@darkboxed.org>2019-01-22 03:06:51 +0100
commit43cac04350f830676f357cead966ab68fa7851a8 (patch)
tree1ae22159a4320cec64bed7f945b02e090289e39a /src
parentc9c46ee7a8c33d1182c8b687ac3c25268ca5ddbe (diff)
Fix ciSourceDirs commentary
[ci skip]
Diffstat (limited to 'src')
-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