Stop logging to file when build inplace
commit83aaa637453c435bfb444c1a0def88b76b7ec2b2
authorRodrigo Mesquita <rodrigo.m.mesquita@gmail.com>
Wed, 10 Jan 2024 22:29:07 +0000 (10 22:29 +0000)
committerMikolaj <281893+Mikolaj@users.noreply.github.com>
Fri, 12 Jan 2024 01:39:36 +0000 (12 01:39 +0000)
tree204acafbbb69b18de7458cc15575caf529191f52
parentd31bade83dbcd2ea674268e5f4602af7100455bd
Stop logging to file when build inplace

In f70fc980dca50e7e62c5e803f56d2ef0c9fc7e18, while refactoring
buildInplaceUnpackedPackage and buildAndInstallUnpackedPackage, we
started logging into a file on both cases, instead of logging to a file
only for buildAndInstallUnpackedPackage.

When building a package inplace, it is much more useful to be able to
see the GHC invocation directly outside of a log file.

This is especially relevant for Cabal developers working inplace.

Fixes #9606
cabal-install/src/Distribution/Client/ProjectBuilding/UnpackedPackage.hs