Skip to content

hnix 0.12.0.1 fails to build with hashable 1.3.1.0 #855

Closed
@sjakobi

Description

src/Nix/Expr/Types.hs:77:10: error:
    Duplicate instance declarations:
      instance Hashable1 NonEmpty
        -- Defined at src/Nix/Expr/Types.hs:77:10
      instance Hashable1 NonEmpty
        -- Defined in ‘hashable-1.3.1.0:Data.Hashable.Class’
   |
77 | instance Hashable1 NonEmpty
   |          ^^^^^^^^^^^^^^^^^^
cabal: Failed to build hnix-0.12.0.1 (which is required by exe:dhall-to-nix
from dhall-nix-1.1.20). See the build log above for details.

This instance was added to hashable in v1.3.1.0. I see that the orphan instance has already been removed on hnix master (yay!), so a new release should fix this.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions