only check for compiler when project file has conditionals (#8358)
commit1d4491fb3dbad3deb55cbe8922e448d0cd467ba3
authorgbaz <gershomb@gmail.com>
Tue, 20 Sep 2022 20:53:56 +0000 (20 16:53 -0400)
committerGitHub <noreply@github.com>
Tue, 20 Sep 2022 20:53:56 +0000 (20 20:53 +0000)
treeb68f179648982353a189f97b6cdac85c1c0c9cc1
parent182e2c15191cd96a477a7fda41f9f89192b665ff
only check for compiler when project file has conditionals (#8358)

* only check for compiler when project file has conditionals

* fix sdist options a bit plus test

* whitespace

* poke tests around

* Update cabal.out

* Update cabal.test.hs

* changelog/docs

Co-authored-by: Gershom Bazerman <gershom@arista.com>
cabal-install/src/Distribution/Client/CmdOutdated.hs
cabal-install/src/Distribution/Client/CmdSdist.hs
cabal-install/src/Distribution/Client/ProjectConfig/Legacy.hs
cabal-install/src/Distribution/Client/ProjectPlanning.hs
cabal-install/src/Distribution/Client/ScriptUtils.hs
changelog.d/pr-8358 [new file with mode: 0644]
doc/cabal-project.rst