Hi, I'm wondering what the easiest way is to "split up" a ~/.config/yi/yi.hs file into multiple .hs files. (Alas, just putting other .hs files into ~/.config/yi/ didn't work..).
Particularly, if I'm running Yi from a sandbox. The GitHub readme for Yi says: If the package your config depends on is local, for example when you're developing the library that you want to use or if you need a patched version, you'll have to use cabal sandbox add-source command. As an example, I'm developing a yi-haskell-utils package and my config depends on it. To accommodate for this, I rancabal sandbox add-source ~/programming/yi-haskell-utils. but I wasn't able to get this working with any success. When I run Yi while importing a module from (say) yi-haskell-utils, Yi isn't able to find the module. Is there much obvious which is missing from the instructions? If I have a cabal sandbox for Yi at (say) ~/programming/yi/yi,... * yi-haskell-utils is going to depend on yi. Can yi-haskell-utils add-source for ~/programming/yi/yi, or is that cyclic? * in order for Yi to know about yi-haskell-utils used in yi.hs, would I have to tinker with yi.cabal in ~/programming/yi/yi at all? * would ~/programming/yi-haskell-utils need to be in a cabal sandbox, or need to not be, and if it's in a sandbox can it share the same sandbox as ~/programming/yi/yi or not? * would I need to tinker with the GHC_PACKAGE_PATH in my runyi script? I'd appreciate any information to clarify things like this. Regards, Richard -- -- Yi development mailing list [email protected] http://groups.google.com/group/yi-devel --- You received this message because you are subscribed to the Google Groups "yi.devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
