The hackage server doesn't have SDL2_mixer installed: https://hackage.haskell.org/package/sdl2-mixer-1.1.0/reports/2