{stdenv, fetchurl, polyml, graphviz, fontconfig, liberation_ttf, experimentalKernel ? true}: let pname = "hol4"; version = "k.8"; holsubdir = "hol-kananaskis-8"; kernelFlag = if experimentalKernel then "-expk" else "-stdknl"; in stdenv.mkDerivation { name = "${pname}-${version}"; src = fetchurl { url = mirror://sourceforge/hol/hol/kananaskis-8/kananaskis-8.tar.gz; sha256 = "5ce4c1e37301dbc38772694e98f1c7eabf69255908de204b280d8b2b1709e9d0"; }; buildInputs = [polyml graphviz fontconfig liberation_ttf]; buildCommand = '' mkdir chroot-fontconfig cat ${fontconfig}/etc/fonts/fonts.conf > chroot-fontconfig/fonts.conf sed -e 's@@@' -i chroot-fontconfig/fonts.conf echo "