Visitar URL original
Better handling of case where local package is named the same as a snapshot package but does not define a library component · Issue #2195 · commercialhaskell/stack · GitHub
Skip to content

Better handling of case where local package is named the same as a snapshot package but does not define a library component #2195

Closed

Description

@mgsloan

There is a bit of a funky corner case where you can have a package named the same as some snapshot package, but if it doesn't define a library it doesn't shadow the snapshot.

For example, with this commit on stackage-server: commercialhaskell/stackage-server@5142f09

If you already have hoogle-4 built, then it will actually just use that one. Since the git repo of hoogle 5 doesn't provide a library component, it doesn't end up shadowing the snapshot hoogle-4.

If you don't have hoogle-4 built, you'll get

setup-Simple-Cabal-1.22.7.0-ghc-7.10.3: At least the following dependencies
are missing:
hoogle -any

Activity

  1. changed the title [-]Handle case where local package is named the same as a snapshot package but does not define a library component[/-] [+]Better handling of case where local package is named the same as a snapshot package but does not define a library component[/+] on May 26, 2016
  2. added this to the P2: Should milestone on May 26, 2016
  3. snoyberg commented on Oct 24, 2017

    @snoyberg
    Contributor

    Implemented via #3505

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions