nixpkgs/pkgs/development/compilers/bs-platform/ocaml.nix
2021-01-23 08:57:37 +07:00

17 lines
297 B
Nix

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