We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems that haddock 2.30 which comes with ghc 9.8.1 now requires .hi interface files as input.
.hi
See https://github.com/haskell/haddock/blob/ghc-9.8/doc/invoking.rst#avoiding-recompilation
This is a problem when profiling is enabled since only p_hi files are present in the sandbox in this case.
p_hi
To Reproduce
The following command fails on the ylecornec/ghc_9_8_1 branch (at least with a nix provided ghc).
ylecornec/ghc_9_8_1
$ cd rules_haskell_test && GHC_VERSION=9.8.1 bazel build -c dbg //tests:toto Failed to load interface for ‘LZ4’
lz4.hi
lz4.p_hi
hi
Exception when reading interface file bazel-out/k8-dbg/bin/tests/testsZSlz4/_iface/LZ4.hi mismatched interface file profile tag (wanted "", got "p")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It seems that haddock 2.30 which comes with ghc 9.8.1 now requires
.hi
interface files as input.See https://github.com/haskell/haddock/blob/ghc-9.8/doc/invoking.rst#avoiding-recompilation
This is a problem when profiling is enabled since only
p_hi
files are present in the sandbox in this case.To Reproduce
The following command fails on the
ylecornec/ghc_9_8_1
branch (at least with a nix provided ghc).lz4.hi
file to the sandbox next tolz4.p_hi
the build is successfulp_hi
tohi
the file is found by haddock but there is a different error:The text was updated successfully, but these errors were encountered: