Open
Description
General summary
The global-project/stack.yaml
config properties are ignored when stack is used outside of a project, while only config.yaml
s configs are used.
This doesn't allow to specify configs which should be used when outside a project, and not global configs which are applied to all projects.
Steps to reproduce
For example, specifying setup-info-locations
in global-project/stack.yaml
is completely ignored.
Stack version
Stack 2.13 release
Relevant source code
Lines 411 to 423 in 665a184
(
PCGlobalProject, id
- should not be id, but the ConfigMonoid of the global-project/stack.yaml
)
Lines 483 to 495 in 665a184
(
ProjectAndConfigMonoid project _
- The ConfigMonoid should not be ignored)
Relevant issues
Relevant: #964 was also confused by this behavior