Skip to content

Instantly share code, notes, and snippets.

@dmitriz
Created August 27, 2019 09:31
Show Gist options
  • Select an option

  • Save dmitriz/da2273909bae3cc45ca870427b32c6d5 to your computer and use it in GitHub Desktop.

Select an option

Save dmitriz/da2273909bae3cc45ca870427b32c6d5 to your computer and use it in GitHub Desktop.

Revisions

  1. dmitriz created this gist Aug 27, 2019.
    23 changes: 23 additions & 0 deletions install errors
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    ```sh
    ➜ ~ stack install sized

    Error: While constructing the build plan, the following exceptions were encountered:

    In the dependencies for sized-0.3.0.0:
    equational-reasoning must match >=0.5, but the stack configuration has no specified version (latest matching
    version is 0.6.0.0)
    ghc-typelits-presburger must match >=0.2.0.0, but the stack configuration has no specified version (latest
    matching version is 0.2.0.5)
    type-natural must match >=0.7.1.2, but the stack configuration has no specified version (latest matching
    version is 0.8.2.0)
    needed since sized is a build target.

    Some different approaches to resolving this:

    * Recommended action: try adding the following to your extra-deps
    in /Users/dmitrizaitsev/.stack/global-project/stack.yaml:

    - equational-reasoning-0.6.0.0@sha256:e47ae43f74173e9084d1b09e3c3e378be3710b5eeeda2136f158bf73aceaaba5,1824
    - ghc-typelits-presburger-0.2.0.5@sha256:5f46bd260db08053845547202e356d6f63cc02af066a1990e39346d90cb7ea06,2217
    - type-natural-0.8.2.0@sha256:fb69402932813da1cdedb537b3f81b68740629264b71de30bd981396abebb0b1,2619
    ```