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:
7676 package keys even for very long package names.
7777* The Error S-6362 message now acknowledges when the wanted compiler has been
7878 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.
7981
8082## v2.15.7 - 2024-05-12
8183
Original file line number Diff line number Diff line change @@ -164,9 +164,10 @@ scriptCmd opts = do
164164 then (NoRun , SECompile )
165165 else (opts. shouldRun, opts. compile)
166166
167- root <- withConfig NoReexec $ view stackRootL
168167 outputDir <- if opts. useRoot
169168 then do
169+ root <- local (over globalOptsL modifyGO) $
170+ withConfig NoReexec $ view stackRootL
170171 scriptFileAsDir <- maybe
171172 (throwIO $ FailedToParseScriptFileAsDirBug scriptFile)
172173 pure
You can’t perform that action at this time.
0 commit comments