anchor.diff:      done
   
       # Fix rpaths
  -    exe="$out/MacVim.app/Contents/MacOS/Vim"
  +    exe="$out/Applications/MacVim.app/Contents/MacOS/Vim"
       libperl=$(dirname $(find ${perl} -name "libperl.dylib"))
       install_name_tool -add_rpath ${luajit}/lib $exe
       install_name_tool -add_rpath ${tcl}/lib $exe
  
positive.code:   patches = [ ./macvim.patch ];
  
    postPatch = ''
      substituteInPlace src/MacVim/mvim --replace "# VIM_APP_DIR=/Applications" "VIM_APP_DIR=$out"
  
      # Don't create custom icons.
      substituteInPlace src/MacVim/icons/Makefile --replace '$(MAKE) -C makeicns' ""
  
negative.code:   '';
  
    postInstall = ''
      cp -r src/MacVim/build/Release/MacVim.app $out/Applications
  
      rm $out/bin/{Vimdiff,Vimtutor,Vim,ex,rVim,rview,view}
  
  