I have a stack-based project that currently uses GLUT, and works fine, including in ghci.
I added this to my stack.yaml:
flags:
gloss:
GLFW: true
GLUT: false
And ghci gives me this:
Symbol not found: _glosszm1zi13zi1zi1zm2SbZZzz2OFJmq7Y0azz9tdhW7_GraphicsziGlossziInternalsziInterfaceziBackendziGLUT_glutStateInit_closure
which looks like it's still trying to use GLUT. (I did a full rebuild.)
Running as regular executable, playIO just immediately returns.
Is there a way to configure Gloss to use GLFW, using stack?