Is there a way to run IHaskell using a particular sandbox directory?

153 Views Asked by At

Exactly that - can I run IHaskell and have it load packages from a particular sandbox directory?

1

There are 1 best solutions below

0
On

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