Skip to content

Commit

Permalink
ghcide needs prettyprinter-1.7 to build (haskell#2875)
Browse files Browse the repository at this point in the history
fails with prettyprinter 1.6
```
[37 of 77] Compiling Development.IDE.Types.Logger ( src/Development/IDE/Types/Logger.hs, dist/build/Development/IDE/Types/Logger.o )
src/Development/IDE/Types/Logger.hs:57:1: error:
    Could not find module `Prettyprinter'
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
57 | import           Prettyprinter                 as PrettyPrinterModule
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Development/IDE/Types/Logger.hs:58:1: error:
    Could not find module `Prettyprinter.Render.Text'
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
58 | import           Prettyprinter.Render.Text     (renderStrict)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Failed to build ghcide-1.7.0.0 (which is required by
exe:haskell-language-server from haskell-language-server-1.7.0.0 and
exe:haskell-language-server-wrapper from haskell-language-server-1.7.0.0). See
the build log above for details.
```
from https://download.copr.fedorainfracloud.org/results/petersen/haskell-language-server/fedora-34-x86_64/04345531-haskell-language-server/
  • Loading branch information
juhp authored and sloorush committed May 21, 2022
1 parent fb69f68 commit 53add76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ghcide/ghcide.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ library
optparse-applicative,
parallel,
prettyprinter-ansi-terminal,
prettyprinter,
prettyprinter >= 1.7,
random,
regex-tdfa >= 1.3.1.0,
retrie,
Expand Down

0 comments on commit 53add76

Please sign in to comment.