commercialhaskell / commercialhaskell/stackage

Stackage haddock core libs source links broken

Open
#7,818 10 comments 1 reaction 0 assignees View on GitHub
Dominant language
Dockerfile
Stars
551
Forks
825
Avg merge
2d 16m
Merged PRs (30d)
8

Description

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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.