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

17 lines
299 B
Nix
Raw Normal View History

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