$ stack install --resolver lts-22.6 eo-phi-normalizer
Error: [S-4804]
Stack failed to construct a build plan.
While constructing the build plan, Stack encountered the following errors. The 'Stack configuration' refers to the set of package versions specified
by the snapshot (after any dropped packages, or pruned GHC boot packages; if a boot package is replaced, Stack prunes all other such packages that
depend on it) and any extra-deps:
In the dependencies for eo-phi-normalizer-0.3.1:
* file-embed must match >=0.0.16.0, but file-embed-0.0.15.0 is in the Stack configuration (latest matching version is 0.0.16.0).
The above is/are needed since eo-phi-normalizer is a build target.
Some different approaches to resolving some or all of this:
* To ignore all version constraints and build anyway, in /Users/yb/.stack/config.yaml (global configuration), set allow-newer: true.
* To ignore certain version constraints and build anyway, also add these package names under allow-newer-deps: eo-phi-normalizer.
* Recommended action: try adding the following to your extra-deps in /Users/yb/.stack/global-project/stack.yaml (project-level configuration):
- file-embed-0.0.16.0@sha256:2e8983240c1faae020b4acef6d30f0281f5ec87c2f38736dc1dc5456355e22a5,1426
I'm getting this: