3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/bs-platform/ocaml.nix
2019-12-10 00:51:30 -08:00

17 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;
};
}