Skip to content
New issue

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

Build failure on GHC 9.6 #394

Closed
locallycompact opened this issue Jan 19, 2023 · 1 comment
Closed

Build failure on GHC 9.6 #394

locallycompact opened this issue Jan 19, 2023 · 1 comment

Comments

@locallycompact
Copy link

Looks like an API change on 9.6

doctest> [ 1 of 16] Compiling GhcUtil          ( src/GhcUtil.hs, dist/build/GhcUtil.o, dist/build/GhcUtil.dyn_o )
doctest> src/GhcUtil.hs:73:19: error: [GHC-88464]
doctest>     Data constructor not in scope: NoBackend :: Backend
doctest>     Suggested fix: Perhaps use variable ‘noBackend’ (imported from GHC)
doctest>    |
doctest> 73 |       backend   = NoBackend
doctest>    |                   ^^^^^^^^^
doctest> [ 2 of 16] Compiling Language.Haskell.GhciWrapper ( ghci-wrapper/src/Language/Haskell/GhciWrapper.hs, dist/build/Language/Haskell/GhciWrapper.o, dist/build/Language/Haskell/GhciWrapper.dyn_o )
doctest> [ 3 of 16] Compiling Interpreter      ( src/Interpreter.hs, dist/build/Interpreter.o, dist/build/Interpreter.dyn_o )
doctest> [ 4 of 16] Compiling Location         ( src/Location.hs, dist/build/Location.o, dist/build/Location.dyn_o )
doctest> [ 5 of 16] Compiling PackageDBs       ( src/PackageDBs.hs, dist/build/PackageDBs.o, dist/build/PackageDBs.dyn_o )
doctest> [ 6 of 16] Compiling Paths_doctest    ( dist/build/autogen/Paths_doctest.hs, dist/build/Paths_doctest.o, dist/build/Paths_doctest.dyn_o )
doctest> [ 7 of 16] Compiling Info             ( src/Info.hs, dist/build/Info.o, dist/build/Info.dyn_o )
doctest> [ 8 of 16] Compiling Options          ( src/Options.hs, dist/build/Options.o, dist/build/Options.dyn_o )
doctest> [ 9 of 16] Compiling Util             ( src/Util.hs, dist/build/Util.o, dist/build/Util.dyn_o )
error: builder for '/nix/store/7mn69kvw5wn7f1nr43qmal2f8n1akys4-doctest-0.20.1.drv' failed with exit code 1;

https://gitlab.homotopic.tech/horizon/horizon-core/-/jobs/161052

@sol
Copy link
Owner

sol commented Mar 16, 2023

This will be fixed by #401.

@sol sol closed this as completed Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants