Open ericctsf opened 4 years ago
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.
fail' is not a (visible) method of class
Haste requires GHC-7.10.3.
Dockerfile
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