mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
20 lines
516 B
Nix
20 lines
516 B
Nix
{ stdenv, fetchurl, xlibsWrapper }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "ocaml-3.08.0";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://tarballs.nixos.org/ocaml-3.08.0.tar.gz;
|
|
sha256 = "135g5waj7djzrj0dbc8z1llasfs2iv5asq41jifhldxb4l2b97mx";
|
|
};
|
|
configureScript = ./configure-3.08.0;
|
|
dontAddPrefix = "True";
|
|
configureFlags = ["-no-tk" "-x11lib" xlibsWrapper];
|
|
buildFlags = ["world" "bootstrap" "opt"];
|
|
checkTarget = ["opt.opt"];
|
|
|
|
meta = {
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|