turion / rhine

Haskell Functional Reactive Programming framework with type-level clocks
http://hackage.haskell.org/package/rhine
121 stars 21 forks source link

Flake and GHC 9.2.2 #162

Closed jmatsushita closed 9 months ago

jmatsushita commented 2 years ago

Hi there,

I've been using nix flakes to setup my local development environment with cabal only and have used that setup to get rhine to work with GHC 9.2.2. Is that something you're interested in a PR for? I've been using this setup to work on the terminal and vty examples I mentioned in https://github.com/turion/rhine/issues/161

I'm also happy to try and break this down into 2 separate PRs (one to upgrade GHC, and another to port the project to flakes). It'll take a bit of work to make sure the CI also works properly as well as your local dev environment (I'm on an M1 mac).

Cheers,

Jun

turion commented 2 years ago

Yes that sounds like a great idea! I just recently started using flakes, that's why I hadn't added anything like it yet.

I'm also happy to try and break this down into 2 separate PRs

Yes, that's the best way to go. Thanks!

jmatsushita commented 2 years ago

I gave a shot at a simple flake. Since I've worked on the 9.2.2 upgrade using flakes, I guess it makes sense to let the dust settle on that first :)

turion commented 2 years ago

First part resolved! We have a working flake setup. Again, thank you!

turion commented 9 months ago

GHC 9.2 support was added in #203 already :+1: