File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,16 @@ Windows) while others do not.
149
149
This can cause GHC to pick the wrong installed package and to report that it
150
150
cannot load a module because it is a member of a hidden package.
151
151
152
+ !!! warning
153
+
154
+ On Windows only, `stack script` can fail if building a required package or
155
+ a dependency of a required package requires the registration in the relevant
156
+ package database of a pre-compiled package in another package database.
157
+
158
+ A work around is to build the required package with the same configuration
159
+ as will be used by `stack script`, causing the compiled package to then be
160
+ present in the relevant package database, before invoking `stack script`.
161
+
152
162
## Compilation
153
163
154
164
The source file can be compiled by passing either the ` --compile ` flag (no
You can’t perform that action at this time.
0 commit comments