8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
21 lines
546 B
Nix
21 lines
546 B
Nix
{ stdenv, fetchurl, xlibsWrapper }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ocaml";
|
|
version = "3.08.0";
|
|
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = "http://tarballs.nixos.org/${pname}-${version}.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;
|
|
};
|
|
}
|