Improve usability on 'ghcup config add-release-channel'

Fixes #751 (or so I hope).
This commit is contained in:
2023-02-12 19:58:08 +08:00
parent 6d3e8d65e1
commit f575dcdad6
3 changed files with 51 additions and 17 deletions

View File

@@ -66,7 +66,7 @@ data GHCupInfo = GHCupInfo
, _ghcupDownloads :: GHCupDownloads
, _globalTools :: Map GlobalTool DownloadInfo
}
deriving (Show, GHC.Generic)
deriving (Show, GHC.Generic, Eq)
instance NFData GHCupInfo
@@ -87,7 +87,7 @@ data Requirements = Requirements
{ _distroPKGs :: [Text]
, _notes :: Text
}
deriving (Show, GHC.Generic)
deriving (Show, GHC.Generic, Eq)
instance NFData Requirements