anchor.diff:      ln -s ../Applications/kitty.app/Contents/MacOS/kitty "$out/bin/kitty"
       mkdir "$out/Applications"
       cp -r kitty.app "$out/Applications/kitty.app"
  +
  +    installManPage 'docs/_build/man/kitty.1'
       '' else ''
       cp -r linux-package/{bin,share,lib} $out
       ''}
  
positive.code:   harfbuzz, fontconfig, pkgconfig, ncurses, imagemagick, xsel,
    libstartup_notification, libGL, libX11, libXrandr, libXinerama, libXcursor,
    libxkbcommon, libXi, libXext, wayland-protocols, wayland,
    which, dbus,
    Cocoa,
    CoreGraphics,
  
negative.code: 
    buildPhase = if stdenv.isDarwin then ''
      ${python.interpreter} setup.py kitty.app --update-check-interval=0
      make man
    '' else ''
      ${python.interpreter} setup.py linux-package --update-check-interval=0
    '';
  