anchor.diff:  
     doCheck = true;
   
  -  postInstall = ''
  +  postInstall = if stdenv.isDarwin then ''
  +    mkdir -p $out/Applications
  +    mv $out/bin/nvim-qt.app $out/Applications
  +    rmdir $out/bin || :
  +
  +    wrapProgram "$out/Applications/nvim-qt.app/Contents/MacOS/nvim-qt" \
  +      --prefix PATH : "${neovim}/bin"
  +  '' else ''
       wrapProgram "$out/bin/nvim-qt" \
         --prefix PATH : "${neovim}/bin"
     '';
  
positive.code:   };
  
    cmakeFlags = [
      "-DMSGPACK_INCLUDE_DIRS=${msgpack}/include"
      "-DMSGPACK_LIBRARIES=${msgpack}/lib/msgpackc.so"
    ];
  
    buildInputs = with pythonPackages; [
  
negative.code:   enableParallelBuilding = true;
  
    preConfigure = ''
      # we rip out a number of tests that fail in the build env
      # the GUI tests will never work but the others should - they did before neovim 0.2.0
      # was released
      sed -i test/CMakeLists.txt \
        -e '/^add_xtest_gui/d' \
        -e '/tst_neovimobject/d' \
        -e '/tst_neovimconnector/d' \
        -e '/tst_callallmethods/d' \
        -e '/tst_encoding/d'
  