From 07fb04bb74d8dae711dafae67128ffbd50e636cb Mon Sep 17 00:00:00 2001 From: Arjun Kathuria Date: Tue, 22 Jun 2021 23:15:13 +0530 Subject: [PATCH] Adds the new rmGhcupDirs function in Main.hs under Nuke command --- app/ghcup/Main.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/ghcup/Main.hs b/app/ghcup/Main.hs index 4275e46..12b866b 100644 --- a/app/ghcup/Main.hs +++ b/app/ghcup/Main.hs @@ -1713,6 +1713,8 @@ Make sure to clean up #{tmpdir} afterwards.|]) lInstalled <- runLogger . flip runReaderT appstate $ listVersions Nothing (Just ListInstalled) forM_ lInstalled $ runRm . rmTool + runLogger $ runReaderT rmGhcupDirs appstate + pure ExitSuccess case res of