Closed FPtje closed 4 years ago
When a stack.yaml file is missing the packages field, gen-hie will fail with the following error:
stack.yaml
packages
gen-hie: user error (AesonException "Error in $: key \"packages\" not found")
When adding the following to the stack.yaml file:
packages: - .
gen-hie works just fine. This seems redundant, though. Would it be possible to assume the singleton list containing . as default?
gen-hie
.
Does stack accept that? 0.o I always thought that is a mandatory field
Yeah, stack appears to act the same with or without that field in this case.
When a
stack.yaml
file is missing thepackages
field, gen-hie will fail with the following error:When adding the following to the stack.yaml file:
gen-hie
works just fine. This seems redundant, though. Would it be possible to assume the singleton list containing.
as default?