nixpkgs-suyu/pkgs/development/compilers/bs-platform/ocaml.nix
2019-12-10 00:51:30 -08:00

16 lines
325 B
Nix

{ stdenv, src, version, bs-version }:
stdenv.mkDerivation rec {
inherit src version;
name = "ocaml-${version}+bs-${bs-version}";
configurePhase = ''
./configure -prefix $out
'';
buildPhase = ''
make -j9 world.opt
'';
meta = with stdenv.lib; {
branch = "4.06";
platforms = platforms.all;
};
}