<div dir="ltr"><div dir="ltr">Am Sa., 13. Nov. 2021 um 13:27 Uhr schrieb Mikolaj Konarski <<a href="mailto:mikolaj@well-typed.com">mikolaj@well-typed.com</a>>:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Not sure about this particular error, but haskell-ci does not yet seem<br>
fully updated to the travis/GHA switch and Ubuntu repo/gchup switch.<br></blockquote><div><br></div><div>My point is: I don't care about how the workflow gets the tools and compilers, I was just hoping to have a simple way to generate a workflow from a .cabal file. :-( Currently I am too busy with other things that I can't dive into the details of GitHub Actions, haskell-ci, etc., I can just offer testing haskell-ci patches etc. </div><div><br></div><div>The project I used as a trial balloon for haskell-ci is really dead simple, how are other projects handling this? It must be an extremely common use case, and I doubt that everybody writes the workflows by hand: This would be silly, basically all needed information is already in the .cabal file.</div><div><br></div><div>Other projects like e.g. lens seem to use haskell-ci successfully, see <a href="https://github.com/ekmett/lens/blob/master/.github/workflows/haskell-ci.yml">https://github.com/ekmett/lens/blob/master/.github/workflows/haskell-ci.yml</a>. But that YAML file looks quite a bit different from what haskell-ci has generated for my project. Why?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">In particular, there is no Ubuntu package for GHC 9.2.1 that you are<br>
requesting and there may never be.</blockquote><div><br></div><div>That's totally OK, the workflow seems to reference hvr's PPA. And as I said: Even when I remove 9.2.1, I get the exact same error again for 9.0.1.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> I'd advise to use ghcup instead. There are at least some examples about that in haskell-ci repo (IIRC,<br>
at least the haskell-ci CI job itself), even if the script is not up to the task. Contributions welcome.</blockquote><div><br></div><div>Personally I use stack exclusively, totally ignoring cabal and ghcup. But that should be fine as long as the workflow is doing whatever it needs to do with those tools.</div><div><br></div><div>As usual, the Haskell tool ecosystem is giving me a hard time... :´-(</div><div><br></div><div>Cheers,</div><div> S.</div></div></div>