/usr/lib/ghc-doc/hoogle/x509-system.txt is in libghc-x509-system-doc 1.4.2-1build1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/ghc-doc/hoogle/../../../share/doc/libghc-x509-system-doc/html/x509-system.txt