-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create renderer when compiled using nix #196
Comments
I guess Maybe try calling |
For me (on Debian unstable) my Haskell project builds with
... and with
Index of 0If, as @typetetris suggests, I change my code to simply work with being built in a Nix env or through Nix build, as you suggest (using "the index of 0") I instead get this error:
... but I can set the variable and get an error like this:
WorkaroundI'm using Other notesIf I don't use Nix at all (no environment or building) everything works fine. Even if I use |
I'm running into a funny error where I'm not able to create a renderer. This error only happens when building using nix (and I'm fairly new to nix so this could be a simple dependency gotcha). The same program compiled with stack builds and runs just fine. Here's the error that I'm getting:
And for debugging, given this code:
I get this output:
Furthermore, if I try to specify that the window use OpenGL by supplying
defaultWindow{ windowOpenGL = Just defaultOpenGL }
I get a different error:Thanks for any help, it's much appreciated - even just spit balling.
The text was updated successfully, but these errors were encountered: