someodd, to random
@someodd@fosstodon.org avatar

After much failure with trying to get my project running with , I find the workaround is to use an environmental variable to set SDL_RENDER_DRIVER=software and skip using drivers entirely, I guess?

someodd, to random
@someodd@fosstodon.org avatar

Okay, productivity set-back: I can't figure out how to get library working with

I usually get sdlExceptionError "Couldn't find matching render driver" or "Couldn't find matching GLX visual."

someodd,
@someodd@fosstodon.org avatar

I can try something like this:

$ SDL_DEBUG=1 SDL_VIDEODRIVER=wayland nix run
pkg-exe: SDLCallFailed {sdlExceptionCaller = "SDL.Video.createRenderer", sdlFunction = "SDL_CreateRenderer", sdlExceptionError = "Parameter 'window' is invalid"}

someodd, to random
@someodd@fosstodon.org avatar

Potential productivity boost ⚠️

I think the binaries from are compiled to ignore Haddock comments (for "non-builtin" depends), so they don't show up in .

I'm using this Nix Flake template: https://zero-to-flakes.com/haskell-flake/start/

I maybe changed 1 line in the default flake (ghc92) and now see pic.

+ for depends 💯

I think this all lets you use same HLS, GHC, and Cabal as me, + reproduce my builds, run tests, with 1 or 2 commands.

is reproducible magic.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • KamenRider
  • Ask_kbincafe
  • TheResearchGuardian
  • KbinCafe
  • Socialism
  • oklahoma
  • SuperSentai
  • feritale
  • All magazines