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.
2 parents 3ecd5b6 + 4255f1a commit 8f2977cCopy full SHA for 8f2977c
src/Stack/Setup.hs
@@ -1460,9 +1460,10 @@ installGHCPosix downloadInfo _ archiveFile archiveType tempDir destDir = do
1460
1461
dir <- expectSingleUnpackedDir archiveFile tempDir
1462
1463
+ gccEnvMaybe <- fmap (\gcc -> Map.fromList [("CC", T.pack (toFilePath gcc))]) <$> (view $ configL.to configOverrideGccPath)
1464
logSticky "Configuring GHC ..."
1465
runStep "configuring" dir
- (gdiConfigureEnv downloadInfo)
1466
+ (fromMaybe Map.empty gccEnvMaybe `Map.union` gdiConfigureEnv downloadInfo)
1467
(toFilePath $ dir </> relFileConfigure)
1468
(("--prefix=" ++ toFilePath destDir) : map T.unpack (gdiConfigureOpts downloadInfo))
1469
0 commit comments