Allow for dynamic post-install, post-remove and pre-compile msgs

This commit is contained in:
2021-02-22 21:55:05 +01:00
parent 38b6c918f9
commit a9b0c0fbc9
7 changed files with 19998 additions and 8159 deletions

View File

@@ -67,6 +67,10 @@ data CopyError = CopyError String
data TagNotFound = TagNotFound Tag Tool
deriving Show
-- | Unable to find a version of a tool.
data VerNotFound = VerNotFound Version Tool
deriving Show
-- | The tool (such as GHC) is already installed with that version.
data AlreadyInstalled = AlreadyInstalled Tool Version
deriving Show