File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ generateBuildModule flags pkg lbi = do
74
74
#endif
75
75
76
76
-- Lib sources and includes
77
- iArgs <- mapM (fmap (" -i" ++ ) . makeAbsolute) $ libAutogenDir : hsSourceDirs libBI
77
+ iArgs <- mapM (fmap (" -i" ++ ) . makeAbsolute) $ " test " : libAutogenDir : hsSourceDirs libBI
78
78
includeArgs <- mapM (fmap (" -I" ++ ) . makeAbsolute) $ includeDirs libBI
79
79
80
80
-- CPP includes, i.e. include cabal_macros.h
@@ -106,7 +106,7 @@ generateBuildModule flags pkg lbi = do
106
106
, " flags = " ++ show (iArgs ++ includeArgs ++ dbFlags ++ cppFlags)
107
107
, " "
108
108
, " module_sources :: [String]"
109
- , " module_sources = " ++ show (map display module_sources)
109
+ , " module_sources = " ++ show (" Servant.Utils.LinksSpec " : map display module_sources)
110
110
]
111
111
where
112
112
-- we do this check in Setup, as then doctests don't need to depend on Cabal
Original file line number Diff line number Diff line change @@ -137,6 +137,7 @@ test-suite doctests
137
137
, filemanip
138
138
, directory
139
139
, filepath
140
+ , hspec
140
141
type : exitcode-stdio-1.0
141
142
main-is : test/doctests.hs
142
143
buildable : True
You can’t perform that action at this time.
0 commit comments