fjvallarino / monomer

An easy to use, cross platform, GUI library for writing Haskell applications.
BSD 3-Clause "New" or "Revised" License
575 stars 42 forks source link

nix run examples #307

Open jamesdbrock opened 11 months ago

jamesdbrock commented 11 months ago

It would be nice if I could run the examples straight off Github.

nix run --allow-import-from-derivation github:fjvallarino/monomer#books

Instead I get:

Failed to set window icon. Does the file exist?
    user error (./assets/images/icon.png: withBinaryFile: does not exist (No such file or directory))

Invalid window
books: SDLCallFailed {sdlExceptionCaller = "SDL.Video.glCreateContext", sdlFunction = "SDL_GL_CreateContext", sdlExceptionError = "Invalid window"}
jamesdbrock commented 11 months ago

192