Skip to content

Haddock's resource directory isn't properly handled by Hadrian

I'm still investigating, but several things look off about how Hadrian handles Haddock's resources (which are in utils/haddock/haddock-api/resource).

  • only the html folder is being copied, which means that there is no way haddock --latex will work
  • the resources (both html and latex) should probably be specified as runtimeDependencies of the Haddock builder instead of woven into the doc rules
  • the Haddock wrapper in the BinaryDist rules specifies the wrong --lib dir (we currently put Haddock's resources in the doc folder, not the lib folder as we do for the Make system)
Trac metadata
Trac field Value
Version 8.6.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System (Hadrian)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information