Add a warning when an env file is created (#9705)
* Add a warning when an env file is created https://github.com/haskell/cabal/issues/6481#issuecomment-1934909998 * Formatting * Improve wording of warning message * Only show warning if --package-env not given * Improve message and its formatting * Formatting