use the new factored out installCabal' in installCabalBindist
function
This commit is contained in:
parent
8b7c22440e
commit
91d982c7b2
@ -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