Re: Cabals' Paths_pkg and GHCi

2006-11-14 Thread Simon Marlow
Vyacheslav Akhmechet wrote: Hi, I took advantage of Cabal's data-files feature to allow me to portably store and access data files. Cabal generated a Paths_pkg module that I imported. From Cabal's point of view everything works: I can configure, build, install, and run. However, I can no longer

Re: Cabals' Paths_pkg and GHCi

2006-11-14 Thread Claus Reinke
The Paths_foo.hs file is generated in a separate directory, something like dist/autogen/ (I can't remember exactly, you should be able to find it). To get GHCi to find it, you'll need to pass an appropriate -i dir flag. a general question about cabal and ghci: if I have successfully loaded

RE: Cabals' Paths_pkg and GHCi

2006-11-14 Thread Simon Marlow
Claus Reinke wrote: The Paths_foo.hs file is generated in a separate directory, something like dist/autogen/ (I can't remember exactly, you should be able to find it). To get GHCi to find it, you'll need to pass an appropriate -i dir flag. a general question about cabal and ghci: if I