Daniel Gröber (dxld)
Daniel Gröber (dxld)
How does stack even handle tests? The problem is that in cabal there is a flag to turn them on as @expipiplus1 said but how does stack decide to enable...
Okay so it looks like this comes down to ghc-mod configuring a stack project using cabal-install when it shouldn't and then sticking to cabal-install once dist/setup-config exists. I managed to...
In Emacs you can enable verbose logging: `(setq ghc-debug-options '("-v7"))` if someone can reproduce this the contents of the `*GHC Error*` buffer would be super helpful.
Sorry but refining and related features are in limbo until we either integrate mote instead or find someone to maintain them. I could never get them to work properly either...
@Hypnoes Can you paste the output of `stack ide packages --cabal-files --stdout` and just `stack ide packages --stdout`?
Ok, so how is your project setup? Do you have a `stack.yaml`, `package.yaml`, `*.cabal` file or all of the above? If `stack build` works in your project but `ide packages`...
Note this causes conflicts with #1285 currently.
@karlp ping. Review would be appreciated. I just ran into the issue this PR fixes again, gah.
Right so I have a couple of changes to rules.mk in my project to make this all fit together. Indeed you are right that internal dependencies aren't handled by this...
Take for example libopencm3-template, it has this very same problem: ``` $ git clone https://github.com/libopencm3/libopencm3-template.git $ cd libopencm3-template/ $ git clone https://github.com/libopencm3/libopencm3.git libopencm3/ # use master rather than ancient submodule...