File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,8 @@ Bug fixes:
76
76
package keys even for very long package names.
77
77
* The Error S-6362 message now acknowledges when the wanted compiler has been
78
78
specified at the command line.
79
+ * Fix a regression, introduced in Stack 2.11.1, that caused the ` script ` command
80
+ to parse an (otherwise ignored) project-level configuration file.
79
81
80
82
## v2.15.7 - 2024-05-12
81
83
Original file line number Diff line number Diff line change @@ -164,9 +164,10 @@ scriptCmd opts = do
164
164
then (NoRun , SECompile )
165
165
else (opts. shouldRun, opts. compile)
166
166
167
- root <- withConfig NoReexec $ view stackRootL
168
167
outputDir <- if opts. useRoot
169
168
then do
169
+ root <- local (over globalOptsL modifyGO) $
170
+ withConfig NoReexec $ view stackRootL
170
171
scriptFileAsDir <- maybe
171
172
(throwIO $ FailedToParseScriptFileAsDirBug scriptFile)
172
173
pure
You can’t perform that action at this time.
0 commit comments