16 lines
325 B
Nix
16 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;
|
|
};
|
|
}
|