File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -210,6 +210,12 @@ part of Stack's
210
210
[ user's guide] ( ../tutorial/building_your_project.md#adding-dependencies ) for
211
211
information about how these dependencies get specified.
212
212
213
+ If a package description specifies a custom build type, it must also specify a
214
+ custom setup. That should list the dependencies needed to compile ` Setup.hs ` .
215
+ Stack further customises the setup, using the ` Cabal ` package. If that package
216
+ is not listed, Stack will not add the package as a dependency but warn that
217
+ build errors are likely.
218
+
213
219
In addition to specifying targets, you can also control what gets built, or
214
220
retained, with the flags and options listed below. You can also affect what gets
215
221
built by specifying Cabal (the library) options for the configure step
You can’t perform that action at this time.
0 commit comments