Exactly that - can I run IHaskell and have it load packages from a particular sandbox directory?
Asked
Active
Viewed 142 times
4
-
1Could you just install IHaskell and the packages into the same sandbox? – Justin Wood Jan 25 '15 at 22:09
-
1Would `cabal exec` as [suggested in this answer](http://stackoverflow.com/a/28141946/1088108) work for IHaskell? – Ørjan Johansen Jan 26 '15 at 06:12
1 Answers
0
If you're using stack to manage your iHaskell instance, you can edit the stack.yaml
file to include dependencies by listing them under the packages section. For example, say you want to include foo and bar that are located in folder foobar
your stack.yaml
would have:
packages:
- foobar/foo
- foobar/bar

katychuang
- 1,018
- 8
- 18