Flag to instruct GHC not to use an environment file
As the user manual documents, GHC looks for environment files in the current directory to tell it what packages to look for. There seems to be no way to disable this behavior (short of deleting or renaming the environment file). This causes trouble for me, as I expect
ghci to mean the same thing no matter where I say it.
Can we add a flag (perhaps
-no-package-env) that tells GHC not to look for an environment file? Note that specifying a dummy package environment file doesn't work because we can't suppress the implicit
-hide-all-packages that is triggered whenever using a package environment.