Skip to content

Commit

Permalink
Fix build with ghcup 0.1.40.0; bump bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
dfordivam committed Jan 3, 2025
1 parent 84e5e15 commit ce6d0ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ghcup-gen/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ main = do
, fancyColors = not no_color
}
dirs <- liftIO getAllDirs
let leanAppstate = LeanAppState (Settings True 0 Lax False Never Curl True GHCupURL False GPGNone True Nothing (DM mempty) [] defaultPagerConfig) dirs defaultKeyBindings loggerConfig
let leanAppstate = LeanAppState (Settings True 0 Lax False Never Curl True [NewGHCupURL] False GPGNone True Nothing (DM mempty) [] defaultPagerConfig) dirs defaultKeyBindings loggerConfig

pfreq <- (
flip runReaderT leanAppstate . runE @'[NoCompatiblePlatform, NoCompatibleArch, DistroNotFound] $ platformRequest
Expand All @@ -204,7 +204,7 @@ main = do
flip runReaderT leanAppstate $ logError $ T.pack $ prettyShow e
liftIO $ exitWith (ExitFailure 2)

let appstate = AppState (Settings True 0 Lax False Never Curl True GHCupURL False GPGNone True Nothing (DM mempty) [] defaultPagerConfig) dirs defaultKeyBindings (GHCupInfo mempty mempty Nothing) pfreq loggerConfig
let appstate = AppState (Settings True 0 Lax False Never Curl True [NewGHCupURL] False GPGNone True Nothing (DM mempty) [] defaultPagerConfig) dirs defaultKeyBindings (GHCupInfo mempty mempty Nothing) pfreq loggerConfig

let withValidateYamlOpts vopts f = case vopts of
ValidateYAMLOpts { vInput = Nothing } ->
Expand Down
2 changes: 1 addition & 1 deletion ghcup-gen/ghcup-gen.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ executable ghcup-gen
, containers ^>=0.6
, deepseq ^>=1.4 || ^>=1.5
, filepath >=1.4.101.0
, ghcup ^>=0.1.19.0
, ghcup >=0.1.40.0
, variant ^>=1.0
, libarchive ^>=3.0.3.0
, megaparsec >=8.0.0 && <9.8
Expand Down

0 comments on commit ce6d0ae

Please sign in to comment.