No way to exclude current directory from search path
Having Main.hs in the current directory, executing
ghc --make Main -i
still compiles the module, even though -i should in theory "reset the search path back to nothing". But it seems nothing ~ the default (current dir).
I would propose to either change the behavior, or add a new flag, in order to be able to better control the build environment.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.8.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |