Add a warning when an env file is created (#9705)
commit00ce024951a1af6f680facab49a69d6c555a71c6
authorTom Smeding <tomsmeding@users.noreply.github.com>
Tue, 16 Apr 2024 11:12:19 +0000 (16 13:12 +0200)
committerGitHub <noreply@github.com>
Tue, 16 Apr 2024 11:12:19 +0000 (16 11:12 +0000)
treeb0a09275ac6839916682ecd39320fcf1e0b45cda
parentb216b99324f73390acdd3ffdd01c17b089e67fc9
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
cabal-install/src/Distribution/Client/CmdInstall.hs