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 fails on latest ghc #428

Open
ericctsf opened this issue Jun 10, 2020 · 1 comment
Open

Build fails on latest ghc #428

ericctsf opened this issue Jun 10, 2020 · 1 comment

Comments

@ericctsf
Copy link

Dockerfile

FROM haskell:8.10.1-buster
RUN apt-get update && apt-get install -y libghc-bzlib-dev
RUN cabal update
RUN cabal install haste-compile

docker build -t fail .

Results in ===>

Failed to build exe:haste-copy-pkg from haste-compiler-0.2.3.
#6 35.34 Build log (
#6 35.34 /root/.cabal/logs/ghc-8.10.1/haste-compiler-0.2.3-61ab472b7ee8f6725f2cf3678f71797fc7e90138591226032f20670ab8683b9b.log
#6 35.34 ):
#6 35.34 Configuring executable 'haste-copy-pkg' for haste-compiler-0.2.3..
#6 35.34 Preprocessing executable 'haste-copy-pkg' for haste-compiler-0.2.3..
#6 35.34 Building executable 'haste-copy-pkg' for haste-compiler-0.2.3..
#6 35.34 [1 of 3] Compiling Control.Shell ( src/Control/Shell.hs, dist/build/haste-copy-pkg/haste-copy-pkg-tmp/Control/Shell.o )
#6 35.34
#6 35.34 src/Control/Shell.hs:35:3: error:
#6 35.34 fail' is not a (visible) method of class Monad'
#6 35.34 |
#6 35.34 35 | fail err = Shell $ _ -> return $ Left err
#6 35.34 | ^^^^
#6 35.35 cabal: Failed to build exe:haste-copy-pkg from haste-compiler-0.2.3. See the

@WolframKahl
Copy link

Haste requires GHC-7.10.3.

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

No branches or pull requests

2 participants