anchor.diff:      "-Dlibraries=${lib.boolToString withLibraries}"
       "-Ddocumentation=${lib.boolToString withDocumentation}"
     ];
  -
  -  postPatch = lib.optionalString withDocumentation ''
  -    patchShebangs doc/doxygen/gen-doxygen.py
  -  '';
   
     depsBuildBuild = [
       pkg-config
  
positive.code: { lib
  , stdenv
  , fetchurl
  , fetchpatch
  , meson
  , pkg-config
  , substituteAll
  , ninja
  , libffi
  , libxml2
  , wayland
  , expat ? null # Build wayland-scanner (currently cannot be disabled as of 1.7.0)
  , withLibraries ? stdenv.isLinux
  , withDocumentation ? withLibraries && stdenv.hostPlatform == stdenv.buildPlatform
  , graphviz-nox
  , doxygen
  
negative.code: # Documentation is only built when building libraries.
  assert withDocumentation -> withLibraries;
  
  let
    isCross = stdenv.buildPlatform != stdenv.hostPlatform;
  in
  