nixpkgs/pkgs/development/compilers/ocaml/default.nix

16 lines
412 B
Nix
Raw Normal View History

{stdenv, fetchurl, x11}:
stdenv.mkDerivation {
name = "ocaml-3.08.0";
builder = ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/ocaml-3.08.0.tar.gz;
md5 = "c6ef478362295c150101cdd2efcd38e0";
};
configureScript = ./configure;
dontAddPrefix = "True";
configureFlags = ["-no-tk" "-x11lib" x11];
makeFlags = ["world" "bootstrap" "opt"];
checkTarget = ["opt.opt"];
}