Skip to content
Snippets Groups Projects
Verified Commit 75632b2c authored by Julian Ospald's avatar Julian Ospald :tea:
Browse files

Fix ghc being unlinked after installing a new one

Fixes #7
parent b65b9dc5
No related branches found
No related tags found
1 merge request!2Test that setting ghc versions isn't broken
Pipeline #18108 passed with warnings
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment