On Saturday, July 12, 2014 11:28:53 AM UTC+12, ShanaTsunTsunLove wrote: > > > And since I did need to "cabal install mydepproject", then I suppose I > > should also say I needed to call this command > > again if I did modify ~/mydepproject. > > > > If this isn't supposed to be the case, I'm not quite sure what's up. > > Hm, I was under the impression that I had a setup where cabal would pick > up mydepproject changes and rebuild but maybe I was mistaken. > > Does your project get rebuilt after you cabal install it the first time? > Maybe cabal will notice that the installed versioned is different from > the sources present. Thinking about it, I think it is not unreasonable > to have to cabal install it the first time around: nothing explicitly > depends on it so it is not built. As I mention, I'm unable to try it out > myself at this time. >
Well, indeed ~/programming/yi/yi$ cabal build is enough for Cabal to figure out that the dependency has changed, and rebuild that. But I did need to do at least that; otherwise I'm not sure who/what would invoke cabal to know to update the dependencies. And ~/.config/yi.hs did need to be modified after that, too, of course. (As it is in my current setup, I don't bother building independently ~/programming/mydepproject, since I'd need to bother with the dependencies in that project. I've not tried it, but I don't see why this would invoke ~/programming/yi/yi to build). -- -- Yi development mailing list yi-devel@googlegroups.com 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 yi-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.