use the new factored out installCabal' in `installCabalBindist` function

This commit is contained in:
Arjun Kathuria 2021-07-23 15:56:03 +05:30
parent a16a25a3cd
commit 9a511669a8
1 changed files with 1 additions and 1 deletions

View File

@ -463,7 +463,7 @@ installCabalBindist dlinfo ver = do
-- the subdir of the archive where we do the work
workdir <- maybe (pure tmpUnpack) (liftE . intoSubdir tmpUnpack) (view dlSubdir dlinfo)
liftE $ installCabal' workdir binDir
liftE $ installCabal' workdir binDir ver
-- create symlink if this is the latest version
cVers <- lift $ fmap rights getInstalledCabals