nixpkgs/pkgs/development/compilers/ocaml/default.nix
Eelco Visser 4e0ab72b67 Nix expression for ocaml compiler.
- The package has a non-standard build interface;
  fixed with hooks for genericBuild
- The graph library requires x11 and the configure
  script looks in absolute directory paths to find
  X11. Fixed by using patched configure script from
  which the absolute paths have been removed. As
  a consequence the graph library is not build until
  we have X11 support in Nix.


svn path=/nixpkgs/trunk/; revision=1188
2004-07-28 10:08:31 +00:00

15 lines
397 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "ocaml-3.08.0";
builder = ./builder.sh;
src = fetchurl {
url = http://caml.inria.fr/distrib/ocaml-3.08/ocaml-3.08.0.tar.gz;
md5 = "c6ef478362295c150101cdd2efcd38e0";
};
configureScript = ./configure;
dontAddPrefix = "True";
configureFlags = "-no-tk";
makeFlags = ["world" "bootstrap" "opt"];
checkTarget = ["opt.opt"];
}