maintainers/scripts/haskell: Fix a typo

This commit is contained in:
maralorn 2023-09-06 00:06:02 +02:00
parent 58c3652956
commit ba46866a27
No known key found for this signature in database

View File

@ -176,7 +176,7 @@ showT = Text.pack . show
getBuildReports :: HydraSlownessWorkaroundFlag -> IO ()
getBuildReports opt = runReq defaultHttpConfig do
evalMay <- Seq.lookup 0 . evals <$> hydraJSONQuery mempty ["jobset", "nixpkgs", "haskell-updates", "evals"]
eval@Eval{id} <- maybe (liftIO $ fail "No Evalution found") pure evalMay
eval@Eval{id} <- maybe (liftIO $ fail "No Evaluation found") pure evalMay
liftIO . putStrLn $ "Fetching evaluation " <> show id <> " from Hydra. This might take a few minutes..."
buildReports <- getEvalBuilds opt id
liftIO do