anchor.diff:      ./patches/3.0-darwin-x11.patch
     ];
   
  +  depsBuildBuild = [
  +    pkg-config
  +  ];
     nativeBuildInputs = [
       gettext
       gobject-introspection
  
positive.code: , wayland-protocols
  , xineramaSupport ? stdenv.isLinux
  , cupsSupport ? stdenv.isLinux
  , withGtkDoc ? stdenv.isLinux
  , cups
  , AppKit
  , Cocoa
  , QuartzCore
  , broadwaySupport ? true
  }:
  
  let
  
negative.code:     "-Dbroadway_backend=${lib.boolToString broadwaySupport}"
      "-Dx11_backend=${lib.boolToString x11Support}"
      "-Dquartz_backend=${lib.boolToString (stdenv.isDarwin && !x11Support)}"
      "-Dintrospection=${lib.boolToString (stdenv.buildPlatform == stdenv.hostPlatform)}"
    ];
  
    doCheck = false; # needs X11
  