On Debian, Ubuntu or other `apt` based Linux distrubutions you can use [the setup script](./ci/apt-setup.sh) and [the OCaml setup script](./ci/ocaml-setup.sh) to install the required dependencies.
cool-static=(cool.override(o:{profile="static";glibc=nixpkgs.glibc.static;})).overrideAttrs(o:{doCheck=false;});# FIXME statically compiling the tests fails with a weird circular dependency on zlib which I don't really understand
(cxx_flags :standard -std=c++98 -fpermissive) ;; FIXME the permissive flag fixes compilation with newer versions of ocaml which would require a const_cast in the current stub