diff --git a/lib/GHCup.hs b/lib/GHCup.hs index ba31f4a..1070464 100644 --- a/lib/GHCup.hs +++ b/lib/GHCup.hs @@ -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