use the new factored out installCabal' in installCabalBindist
function
This commit is contained in:
parent
a16a25a3cd
commit
9a511669a8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user