When I use criterion and ask it to output the benchmark to a file,
with -o foo, it crashes:
/usr/share/haskell-js-flot/jquery.flot.min.js: openFile: does not exist (No such file or directory)
I think that file needs to be included in this package.
However, it's perhaps worse than that, because what if a program that
depends on criterion, is installed, but the haskell development
environment is not? Then this package won't be installed either,
and it will still fail.
Once such program is git-annex, it has a built flag to enable a "git
annex benchmark" that uses criterion. That build flag is currently
disbabled by default.
To support such a program, it seems like the content of
jquery.flot.min.js should be included inside the library,
not as a separate file.