Created
November 8, 2016 02:55
-
-
Save ublubu/de3cc99fc89739c44fec66e36a470a4e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### Description :octocat: | |
flycheck haskell can't find dependencies for stack project | |
#### Reproduction guide :beetle: | |
- `stack setup` and `stack build` and `stack test` a project with multiple modules - e.g. https://github.com/ublubu/shapes | |
- Start Emacs | |
- open a source file in one module that depends on another module in the project - e.g. shapes/src/Physics/Broadphase/Aabb.hs | |
- flycheck complains that it can't find shapes-math | |
Alternate steps: | |
- per haskell layer troubleshooting doc: in user-config (setq flycheck-haskell-stack-ghc-executable "/Users/krilee/wrapped-stack") | |
- `stack --project-root` yields "Invalid option `--project-root'" when flycheck runs | |
- `stack --version` yields "Version 1.2.0 x86_64 hpack-0.14.0" | |
*Observed behaviour:* :eyes: :broken_heart: | |
- see reproduction guide | |
*Expected behaviour:* :heart: :smile: | |
- flycheck starts without warning that haskell-stack-ghc exited | |
- syntax checking works | |
#### System Info :computer: | |
- OS: darwin | |
- Emacs: 25.1.1 | |
- Spacemacs: 0.200.5 | |
- Spacemacs branch: master (rev. 664ba6a) | |
- Graphic display: t | |
- Distribution: spacemacs | |
- Editing style: vim | |
- Completion: helm | |
- Layers: | |
```elisp | |
(yaml helm | |
(auto-completion | |
(haskell :variables haskell-completion-backend 'intero)) | |
emacs-lisp osx syntax-checking | |
(haskell :variables haskell-enable-hindent-style "gibiansky")) | |
``` | |
- System configuration features: JPEG RSVG IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES | |
#### Backtrace :paw_prints: | |
``` | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment