Commit 599120e3 authored by Daniel Wagner's avatar Daniel Wagner
Browse files

disable GHC environment files in another way

Although we may not want to create GHC environment files in a standard
location after every build, it is still useful to be able to build them
in a custom place in special circumstances. So let's disable this
feature at the call-sites where it doesn't work properly rather than
inside the implementation of the feature.
parent b41505aa
......@@ -277,17 +277,19 @@ runProjectPostBuildPhase verbosity ProjectBuildContext {..} buildOutcomes = do
-- - delete stale lib registrations
-- - delete stale package dirs
postBuildStatus <- updatePostBuildProjectStatus
_postBuildStatus <- updatePostBuildProjectStatus
verbosity
distDirLayout
elaboratedPlanOriginal
pkgsBuildStatus
buildOutcomes
{-TODO: This feature is temporarily disabled due to #4010
writePlanGhcEnvironment projectRootDir
elaboratedPlanOriginal
elaboratedShared
postBuildStatus
-}
-- Finally if there were any build failures then report them and throw
-- an exception to terminate the program
......
......@@ -673,8 +673,6 @@ writePlanGhcEnvironment projectRootDir
| compilerFlavor compiler == GHC
, supportsPkgEnvFiles (getImplInfo compiler)
--TODO: check ghcjs compat
--TODO: This feature is temporarily disabled due to #4010
, False
= writeGhcEnvironmentFile
projectRootDir
platform (compilerVersion compiler)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment