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 8b7c22440e
commit 91d982c7b2

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