Skip to content

Can't upload to hackage: Duplicate module found #795

Closed
@stites

Description

@stites

I have an exposed module which is exported conditionally with a cabal flag with a cabal file that is generated via the dhall-lang/dhall-to-cabal project (latest version: 1.3.1.0). The output of dhall-to-cabal compiles to cabal perfectly fine and I can build the project with cabal v2-build, but when attempting to upload a Package Candidate, I get Duplicate modules in library: Torch.FFI.TH.NN.Double.

Is there a mismatch between cabal and hackage-server that needs to be addressed or should I be filing an issue at the dhall-to-cabal repo?

Metadata

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