Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

ghc-mod using the global stack project #879

Open
RodideBoer opened this issue Apr 5, 2017 · 3 comments
Open

ghc-mod using the global stack project #879

RodideBoer opened this issue Apr 5, 2017 · 3 comments

Comments

@RodideBoer
Copy link

Could ghc-mod use the global stack project when outside of a stack project? It would make my Atom plugins work much nicer with random files outside of a project... :)

@DanielG
Copy link
Owner

DanielG commented May 13, 2017

I suppose now that we use the STACK_EXE environment variable as a strong hint that we should prefer stack over cabal we could do that. If you want to implement this I would be happy to point you in the right direction.

@RodideBoer
Copy link
Author

I am still in the learning phase of Haskell. Still need to learn about a lot of stuff. Don't think I am capable of adding this feature.

@DanielG DanielG removed the easy label May 13, 2017
@DanielG
Copy link
Owner

DanielG commented May 13, 2017

Actually looking at the code it wouldn't be as easy as I thought. This would need some refactoring of internals.

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