TH getPackageRoot documentation
Summary
Location of documentation issue: https://hackage.haskell.org/package/template-haskell-2.21.0.0/docs/Language-Haskell-TH-Syntax.html#v:getPackageRoot
getPackageRoot
points to a non-existent -package-root
flag. I believe the flag is actually called -working-dir
.
Furthermore, the docs claim that HLS sets this flag where in reality it doesn't (yet? c.f. https://github.com/haskell/haskell-language-server/issues/481#issuecomment-1836320116 ).