Skip to content

backpack crashes with an unclear error message when trying to work with digest #6752

@vmchale

Description

@vmchale

Describe the bug

I get

Resolving dependencies...
instantiateComponent: digest-0.0.1.2-37c2fb0db235a5f717365581080fba0fb7ee6e212351d93297f2b1e88ecaeda3
CallStack (from HasCallStack):
  error, called at ./Distribution/Client/ProjectPlanning.hs:2181:21 in main:Distribution.Client.ProjectPlanning

when running cabal build

To Reproduce

At patch dd8d3cdb4b2950f9db57becfaf2ce3483e35b7af at my sak repo.

Run v2-cabal build in any directory.

Expected behavior

I expect to to work the same as when I instantiate digest-sig with digest-pure, or, if there is some reason this is not possible, to have a clearer error message.

System information

  • Linux
  • cabal-install version 3.2.0.0, Cabal version 3.2.0.0, and GHC 8.2.2-8.10.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions