objectionary / normalizer

Command Line Normalizer of 𝜑-calculus Expressions
https://www.objectionary.com/normalizer/
MIT License
7 stars 2 forks source link

Error: [S-4804] Stack failed to construct a build plan. #364

Closed yegor256 closed 2 months ago

yegor256 commented 3 months ago

I'm getting this:

$ 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
deemp commented 3 months ago

This problem is related to #366.

Please use 22.16 instead of 22.6.

yegor256 commented 3 months ago

@deemp it works. Let's update the doc and then close this ticket?