diff --git a/cabal.project b/cabal.project index 6e6f749..5e2e5da 100644 --- a/cabal.project +++ b/cabal.project @@ -7,7 +7,7 @@ package ghcup source-repository-package type: git location: https://gitlab.haskell.org/haskell/ghcup-hs.git - tag: v0.1.17.3 + tag: v0.1.17.4 constraints: http-io-streams -brotli, any.Cabal ==3.6.2.0, diff --git a/ghcup-gen/Main.hs b/ghcup-gen/Main.hs index 8242d6c..4bae1cb 100644 --- a/ghcup-gen/Main.hs +++ b/ghcup-gen/Main.hs @@ -121,7 +121,7 @@ main = do , fancyColors = not no_color } dirs <- liftIO getAllDirs - let leanAppstate = LeanAppState (Settings True False Never Curl True GHCupURL False GPGNone False) dirs defaultKeyBindings loggerConfig + let leanAppstate = LeanAppState (Settings True 0 False Never Curl True GHCupURL False GPGNone False) dirs defaultKeyBindings loggerConfig pfreq <- ( flip runReaderT leanAppstate . runE @'[NoCompatiblePlatform, NoCompatibleArch, DistroNotFound] $ platformRequest @@ -131,7 +131,7 @@ main = do flip runReaderT leanAppstate $ logError $ T.pack $ prettyShow e liftIO $ exitWith (ExitFailure 2) - let appstate = AppState (Settings True False Never Curl True GHCupURL False GPGNone False) dirs defaultKeyBindings (GHCupInfo mempty mempty mempty) pfreq loggerConfig + let appstate = AppState (Settings True 0 False Never Curl True GHCupURL False GPGNone False) dirs defaultKeyBindings (GHCupInfo mempty mempty mempty) pfreq loggerConfig _ <- customExecParser (prefs showHelpOnError) (info (opts <**> helper) idm) >>= \Options {..} -> case optCommand of diff --git a/ghcup-gen/ghcup-gen.cabal b/ghcup-gen/ghcup-gen.cabal index 6b9ee7c..171a08f 100644 --- a/ghcup-gen/ghcup-gen.cabal +++ b/ghcup-gen/ghcup-gen.cabal @@ -49,7 +49,7 @@ executable ghcup-gen , containers ^>=0.6 , filepath ^>=1.4.2.1 , ghcup ^>=0.1.17.3 - , haskus-utils-variant >=3.0 && <3.2 + , haskus-utils-variant ^>=3.2 , libarchive ^>=3.0.3.0 , mtl ^>=2.2 , optics ^>=0.4