-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
have stack ghci
work more like cabal repl
in terms of sandboxing .hi and .o files
#529
Comments
FWIW, I can reproduce this: Edit well, I could reproduce it in my existing snowdrift tree, but not on a fresh one.
Due to a GHC bug, this will probably fail a few times. Just keep running Finally
I'm getting a segfault on If you ever do get to 'stack ghci', there will be .hi and .o files littered throughout the source tree. |
+1 On Monday, July 6, 2015, Peter Harpending [email protected] wrote:
-- Dan Burton |
This is easy enough, will do. |
@chrisdone how do I install this to test? Do I need to run |
|
@chrisdone it appears that I didn't have stuff polluted with .o files but I still got .hi files. I also had a separate problem that appears to be related to failing to import Prelude or something where I had a failure at one point even though I did end up at the prompt anyway… |
Oh, I always thought |
Yay, it's all working! |
Just FYI, there's also -outputdir which I believe redirects all output files in one go (off the top of my head there's also e.g. dyn_o files in dynamic mode, and stub files for foreign exports, so it might be an easier way to go) |
After running
stack ghci
, all my .hs files have corresponding .hi and .o files. I don't like having those pollute my project directory, so I'm hoping there could be a way to run this where those are stored in some separate hidden or sandboxed place…The text was updated successfully, but these errors were encountered: