adds toolchainSanityChecks for isolated installs too in installGHCBindist
function.
This commit is contained in:
parent
80eb72ce49
commit
d1735bc446
@ -218,12 +218,13 @@ installGHCBindist dlinfo ver isoFilepath = do
|
|||||||
-- prepare paths
|
-- prepare paths
|
||||||
ghcdir <- lift $ ghcupGHCDir tver
|
ghcdir <- lift $ ghcupGHCDir tver
|
||||||
|
|
||||||
|
toolchainSanityChecks
|
||||||
|
|
||||||
case isoFilepath of
|
case isoFilepath of
|
||||||
Just isoDir -> do -- isolated install
|
Just isoDir -> do -- isolated install
|
||||||
lift $ $(logInfo) [i|isolated installing GHC to #{isoDir}|]
|
lift $ $(logInfo) [i|isolated installing GHC to #{isoDir}|]
|
||||||
liftE $ installPackedGHC dl (view dlSubdir dlinfo) isoDir ver
|
liftE $ installPackedGHC dl (view dlSubdir dlinfo) isoDir ver
|
||||||
Nothing -> do -- regular install
|
Nothing -> do -- regular install
|
||||||
toolchainSanityChecks
|
|
||||||
liftE $ installPackedGHC dl (view dlSubdir dlinfo) ghcdir ver
|
liftE $ installPackedGHC dl (view dlSubdir dlinfo) ghcdir ver
|
||||||
|
|
||||||
-- make symlinks & stuff when regular install,
|
-- make symlinks & stuff when regular install,
|
||||||
|
Loading…
Reference in New Issue
Block a user