aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2019-08-06 02:12:00 +0200
committerDaniel Gröber (dxld) <dxld@darkboxed.org>2019-09-17 17:48:26 +0200
commit8f2e5eee7db0cfae21f0c347d5551f23e69de34c (patch)
tree9f3a0413bab21ba35dc17d7433aa5e07aa986ac6 /src
parent29c13da426a9009754f5d32351a9f54bccf3cbb5 (diff)
Make ChSetupEntrypoint carry the Main module file name
Diffstat (limited to 'src')
-rw-r--r--src/CabalHelper/Shared/InterfaceTypes.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CabalHelper/Shared/InterfaceTypes.hs b/src/CabalHelper/Shared/InterfaceTypes.hs
index ed06045..352deb0 100644
--- a/src/CabalHelper/Shared/InterfaceTypes.hs
+++ b/src/CabalHelper/Shared/InterfaceTypes.hs
@@ -79,6 +79,8 @@ data ChComponentInfo = ChComponentInfo
data ChEntrypoint
= ChSetupEntrypoint
+ { chMainIs :: FilePath
+ }
| ChLibEntrypoint
{ chExposedModules :: [ChModuleName]
, chOtherModules :: [ChModuleName]