We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37cdf40 commit 4255f1aCopy full SHA for 4255f1a
src/Stack/Setup.hs
@@ -1405,9 +1405,10 @@ installGHCPosix downloadInfo _ archiveFile archiveType tempDir destDir = do
1405
1406
dir <- expectSingleUnpackedDir archiveFile tempDir
1407
1408
+ gccEnvMaybe <- fmap (\gcc -> Map.fromList [("CC", T.pack (toFilePath gcc))]) <$> (view $ configL.to configOverrideGccPath)
1409
logSticky "Configuring GHC ..."
1410
runStep "configuring" dir
- (gdiConfigureEnv downloadInfo)
1411
+ (fromMaybe Map.empty gccEnvMaybe `Map.union` gdiConfigureEnv downloadInfo)
1412
(toFilePath $ dir </> relFileConfigure)
1413
(("--prefix=" ++ toFilePath destDir) : map T.unpack (gdiConfigureOpts downloadInfo))
1414
0 commit comments