Spurious warning about package environments and :seti in GHCi
If I say ghci -package-env ~/.ghc/.../environments/default
and then use :seti
, I get spurious warnings:
rae:15:58:54 ~/work/tweag/video-resources/2021-12-10-quick-look> ghc --version
The Glorious Glasgow Haskell Compilation System, version 9.2.1
rae:15:59:00 ~/work/tweag/video-resources/2021-12-10-quick-look> ghci -ignore-dot-ghci -package-env ~/.ghc/x86_64-darwin-9.2.1/environments/default
Loaded package environment from /Users/rae/.ghc/x86_64-darwin-9.2.1/environments/default
GHCi, version 9.2.1: https://www.haskell.org/ghc/ :? for help
ghci> :seti -XTypeApplications
Loaded package environment from /Users/rae/.ghc/x86_64-darwin-9.2.1/environments/default
cannot set package flags with :seti; use :set
ghci>
Everything actually keeps working, but the warning is alarming.