1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 09:53:17 +00:00
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;
};
}