From 91d982c7b23ca3d0f8357e4f009c71efa2ad21f5 Mon Sep 17 00:00:00 2001 From: Arjun Kathuria Date: Fri, 23 Jul 2021 15:56:03 +0530 Subject: [PATCH] use the new factored out installCabal' in `installCabalBindist` function --- lib/GHCup.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/GHCup.hs b/lib/GHCup.hs index 750746c..fc30c5f 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