Skip to content

Stackage haddock core libs source links broken #7818

@hsyl20

Description

@hsyl20

Some source links on stackage haddock pages are wrong.

To reproduce:

  • go to https://www.stackage.org/haddock/lts-24.4/base-4.20.1.0/Data-List-NonEmpty.html
  • click on the source link for the NonEmpty datatype
  • it redirects to https://www.stackage.org/haddock/lts-24.4/ghc-internal-9.1002.0-77c7/src/GHC.Internal.Base.html#NonEmpty
  • while the correct link is https://www.stackage.org/haddock/lts-24.4/ghc-internal-9.1002.0/src/GHC.Internal.Base.html#NonEmpty (i.e. the package identifier shouldn't contain what is presumably a unit-id hash -77c7).

It was working before ghc-internal was introduced (e.g. see on https://www.stackage.org/haddock/lts-23.27/base-4.19.2.0/Data-List-NonEmpty.html)

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