Open nomeata opened 11 years ago
Doesn't this have issues with permissions, etc.? (Namely that any .ghci file needs to be writable by the owner only.)
That would be the case in the usual case of a user running "cabal install". Once distribution package this in system-wide packages, they might need to find a solution (such as also allowing files writable by root only).
Hi,
I suggest to install a ghci script that does the :def command, and in the installation instructions suggest to include that in the global ghci. This way, you can change how the :def command works in later versions without user interaction.
See packages ghc-heap-view and ghc-vis for examples. These also extended Setup.hs to explain this step to the user.
Greetings, Joachim