Skip to content

for ghc >= 9.8 hadrian installs libraries LICENSE files into /usr/lib64/ghc-9.*/share/doc/x86_64-linux-ghc-9.*/*/

Summary

Steps to reproduce

The general Fedora steps are in ghc9.8.spec here: https://src.fedoraproject.org/rpms/ghc9.8/tree/rawhide

But currently it works around this problem by just removing the said files at the end. So currently it is not a high priority - though the file path seems unsatisfactory to me.

Expected behavior

The LICENSE files are platform dependent so they could be installed in /usr/lib64/ghc-9.8.1/share/doc/*/ at least. Normally they should live around /usr/share/{doc,licenses}/ghc-9.8.1/*/ instead.

Environment

  • GHC version used: 9.8.1

Optional:

  • Operating System: Fedora Linux
  • System Architecture: x86_64
Edited by Jens Petersen
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information