Skip to content

Commit

Permalink
Fix HLS not cleaning up after failed install, fix haskell#361
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed May 11, 2022
1 parent 991e540 commit 5130cb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/GHCup.hs
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,8 @@ installHLSBindist dlinfo ver installDir forceInstall = do
then liftE $ installHLSUnpackedLegacy workdir (GHCupDir binDir) ver forceInstall
else do
inst <- ghcupHLSDir ver
liftE $ runBuildAction tmpUnpack Nothing $ installHLSUnpacked workdir (GHCupDir inst) ver
liftE $ runBuildAction tmpUnpack (Just inst)
$ installHLSUnpacked workdir (GHCupDir inst) ver
liftE $ setHLS ver SetHLS_XYZ Nothing


Expand Down

0 comments on commit 5130cb0

Please sign in to comment.