nixpkgs/pkgs/development/compilers/bs-platform/ocaml.nix

17 lines
299 B
Nix
Raw Normal View History

2019-12-20 14:39:39 +00:00
{ stdenv, src, version }:
2019-12-05 19:41:34 +00:00
stdenv.mkDerivation rec {
inherit src version;
2019-12-20 14:39:39 +00:00
name = "ocaml-${version}+bs";
2019-12-05 19:41:34 +00:00
configurePhase = ''
./configure -prefix $out
'';
buildPhase = ''
make -j9 world.opt
'';
meta = with stdenv.lib; {
branch = "4.06";
platforms = platforms.all;
};
}