not-gloss icon indicating copy to clipboard operation
not-gloss copied to clipboard

build with recent spatial-math-0.5.0.2

Open smunix opened this issue 3 years ago • 2 comments

  • bump version to 0.7.7.1
  • build with spatial-math 0.5.0.2 (not on hackage yet)
  • build with Nix
  • tested with GHC-924

smunix avatar Jan 02 '23 03:01 smunix

@smunix Thanks for updating spatial-math and not-gloss. I look forward to spatial-math-0.5.0.2 being on hackage. Is there a workaround in the meantime?

walck avatar Jan 06 '23 15:01 walck

I build with with Nix, which allows me to pull directly from github:smunix/not-gloss?ref=fix.nix (see my changes to your original repository to get it to compile with ghc-9.2). It's one way to go around it.

An easier workaround would be to add a cabal.project file to your project, then use it to point to my remote git repository (see cabal doc here). IIRC, your github:walck/learn-physics already uses cabal, so we should be able to add cabal.project to it. Let me know if you'd welcome PR to it, I can help with that

BTW, thank you for your great contribution!!!

smunix avatar Jan 06 '23 21:01 smunix