From 75632b2cf1094b396b942d04c9b9671f370202f4 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 16 Apr 2020 08:38:41 +0200 Subject: [PATCH] Fix ghc being unlinked after installing a new one Fixes #7 --- lib/GHCup.hs | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/GHCup.hs b/lib/GHCup.hs index f8fa59d..307e030 100644 --- a/lib/GHCup.hs +++ b/lib/GHCup.hs @@ -247,7 +247,6 @@ setGHC ver sghc = do -- for ghc tools (ghc, ghci, haddock, ...) verfiles <- ghcToolFiles ver forM_ verfiles $ \file -> do - liftIO $ hideError doesNotExistErrorType $ deleteFile (bindir file) targetFile <- case sghc of SetGHCOnly -> pure file SetGHC_XY -> do