Mixing `-package-env` and explicit package flags doesn't seem to work.
-package-env and explicit package flags doesn't seem to work.
Steps to reproduce
% ghci -package-env=default -hide-all-packages -clear-package-db GHCi, version 8.4.4: http://www.haskell.org/ghc/ :? for help Loaded package environment from /home/ogre/.ghc/x86_64-linux-8.4.4/environments/default Loaded GHCi configuration from /home/ogre/.ghci
I'd expect either empty package environment, or at least a warning that latter package database flags are ignored.
- GHC version used: 8.4.4, 8.6.44
- Operating System: Linux
- System Architecture: x86_64