I installed ghc and cabal using stack. I also installed tidal with stack.
When I’m running ghci inside the containing folder of the ghci boot script, and I try to import
Sound.Tidal.Context, it works fine.
However, when I set the ghci path in the tidalcycles atom plugin to that same ghci script, I can’t import
Is it something to do with how the path for modules are set in haskell? I’m sure it’s an easy fix, I just don’t know where to look.
Running manjaro i3
Sounds like you need to add something like this to the end of your
You’ll need to log out and log back in again for that to take effect.
Alternatively, changing the
ghci path setting in the atom preferences for tidalcycles to
stack ghci would likely do the job.
I tried adding the path in
.bashrc, and I still can’t import
As for changing the ghci path, my current path is
This is the same
ghci that can import
Sound.Tidal.Context when run on its own from a terminal,
but won’t import from inside Atom.
Nevermind. I realized I had set up an alias for ghci, and it was the alias that was running, not the script.
I made the alias execute instead, and now everything’s fine.