Daniel Gröber (dxld)
Daniel Gröber (dxld)
@mwotton That's an unrelated bug actually, I never managed to reproduce it when I wanted it to happen could you open another bug report and record any clues as to...
I know I've run into it myself but I don't use stack regularly enough to get the info I need to reproduce the problem.
Oh that problem has been fixed in master AFAIK, but stack still has it (or something simmilar) for some reason.
I don't think that's a problem really, just replace 'project directory' in the above with 'super-project directory' and it should still work ;)
Not the whole project directory just the skeleton, (i.e. the directories) and not even that you only need the directories leading up to the file(s) you want to redirect! So...
yeah exactly like that. Given an appropriate setup for the search path that will override the files we want to override while keeping the paths relative.
Bad news everyone :/ I just tried this out and GHC prefixes the search path item it found a module in to log messages about it.
Yeah I wish ghc exposed its log messages as data structures but alas it doesn't and it would be an enormous amount of work to change that AFAICT.
Holy shit that's awesome. Adding this to the pretty printer seems like a really good idea.
Okay so I have another idea on how to make this less messy (but equally hacky). 1) Let's use a subdirectory in `dist/` for the redirected temp files instead of...