Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

ghc-mod throws error on every check inside a cabal or stack project #125

Closed
liefswanson opened this issue Nov 11, 2015 · 3 comments
Closed

Comments

@liefswanson
Copy link

appears to fail with every attempt to run a check while inside a cabal or stack project, but does not fail if I am just editing a lone haskell file.

the error i get is....

Haskell-ghc-mode: ghc-mode check
/path/to/current/file.hs failed with error code 1

ghc-mod: Language/Haskell/GhcMod/Types.hs:404:10-39: No instance nor default method for class operation put.

This appears to be a problem with ghc-mod, but i am not really sure.

I am running
atom 1.1.0 and 1.2.0beta
arch linux kernel 4.2.5-1
ghc 7.10
stack 0.1.6.0
cabal 1.22.4 (library) 1.22.6 (exec)
ghc-mod 5.4.0.0
stylish-haskell 0.5.14.3
hlint 1.9.22

@lierdakil
Copy link
Contributor

Upstream issue DanielG/ghc-mod#678

@lierdakil
Copy link
Contributor

See also DanielG/ghc-mod#680 (comment)

@liefswanson
Copy link
Author

thanks for the links! that was very helpful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants