3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/bs-platform/ocaml.nix

17 lines
297 B
Nix
Raw Normal View History

{ lib, 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 lib; {
2019-12-05 19:41:34 +00:00
branch = "4.06";
platforms = platforms.all;
};
}