anchor.diff:      sha256 = "sha256-42hmdMwOYSWGiDCmhuqtpCWtvtyD2l+kA/bhHD/Qh5Y=";
     };
   
  -  nativeBuildInputs = [ makeWrapper ] ++ (lib.lists.optional enableX11 copyDesktopItems);
  -  buildInputs = [ ocaml ncurses ];
  +  nativeBuildInputs = [ makeWrapper ]
  +    ++ lib.optional enableX11 copyDesktopItems;
  +  buildInputs = [ ocamlPackages.ocaml ncurses ];
   
     patches = [
       # Patch to fix build with ocaml 4.12. Remove in 2.51.4
  
positive.code: {lib, stdenv, fetchFromGitHub, ocamlPackages, fontschumachermisc, xset, makeWrapper, ncurses, gnugrep, fetchpatch, copyDesktopItems, makeDesktopItem
  , enableX11 ? true}:
  
  let inherit (ocamlPackages) ocaml lablgtk; in
  
  stdenv.mkDerivation (rec {
  
    pname = "unison";
    version = "2.51.3";
    src = fetchFromGitHub {
      owner = "bcpierce00";
      repo = "unison";
  
negative.code:     install -D $src/icons/U.svg $out/share/icons/hicolor/scalable/apps/unison.svg
    '';
  
    dontStrip = !ocamlPackages.ocaml.nativeCompilers;
  
    desktopItems = lib.optional enableX11 (makeDesktopItem {
      name = pname;
      desktopName = "Unison";
      comment = "Bidirectional file synchronizer";
  