diff --git a/lib/GHCup/Types/JSON.hs b/lib/GHCup/Types/JSON.hs index a4a3c941..bebe0f2d 100644 --- a/lib/GHCup/Types/JSON.hs +++ b/lib/GHCup/Types/JSON.hs @@ -50,7 +50,7 @@ import qualified Text.Megaparsec as MP import qualified Text.Megaparsec.Char as MPC instance ToJSON LinuxDistro where - toJSON x = String . T.pack . show $ x + toJSON = String . T.pack . show instance FromJSON LinuxDistro where parseJSON = withText "LinuxDistro" $ \t -> case T.unpack (T.toLower t) of