anchor.diff: -{ stdenv, fetchurl, ncurses, libX11, xproto, buildEnv }:
  +{ stdenv, fetchurl
  +, ncurses
  +, libX11, xproto, buildEnv
  +}:
   
   let
      useX11 = stdenv.isi686 || stdenv.isx86_64;
  +   x11deps = [ libX11 xproto ];
      inherit (stdenv.lib) optionals;
  +
  +   baseOcamlBranch  = "4.07";
  +   baseOcamlVersion = "${baseOcamlBranch}.1";
  +   metaocamlPatch   = "107";
   in
   
   stdenv.mkDerivation rec {
  -
     name = "ber-metaocaml-${version}";
  -  version = "107";
  +  version = metaocamlPatch;
   
     src = fetchurl {
  -    url = "https://caml.inria.fr/pub/distrib/ocaml-4.07/ocaml-4.07.1.tar.gz";
  +    url = "https://caml.inria.fr/pub/distrib/ocaml-${baseOcamlBranch}/ocaml-${baseOcamlVersion}.tar.gz";
       sha256 = "1x4sln131mcspisr22qc304590rvg720rbl7g2i4xiymgvhkpm1a";
     };
   
  
positive.code:     ln -sv $out/lib/ocaml/caml $out/include/caml
      cd ${name}
      make all
      make install
      make install.opt
      cd ..
   '';
    installPhase = "";
    postBuild = ''
    '';
    checkPhase = ''
      cd ${name}
      make test
  
negative.code:     make patch
      cd ..
    '';
  
    buildPhase = ''
      make world
      make -i install
  