mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
17 lines
299 B
Nix
17 lines
299 B
Nix
{ stdenv, src, version }:
|
|
stdenv.mkDerivation rec {
|
|
inherit src version;
|
|
name = "ocaml-${version}+bs";
|
|
configurePhase = ''
|
|
./configure -prefix $out
|
|
'';
|
|
buildPhase = ''
|
|
make -j9 world.opt
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
branch = "4.06";
|
|
platforms = platforms.all;
|
|
};
|
|
}
|