anchor.diff:    ] ++ optionals stdenv.isLinux [
       libselinux
       utillinuxMinimal # for libmount
  -  ];
  +  ] ++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
  +    AppKit Carbon Cocoa CoreFoundation CoreServices Foundation
  +    # Needed for CFURLCreateFromFSRef, etc. which have deen deprecated
  +    # since 10.9 and are not part of swift-corelibs CoreFoundation.
  +    darwin.cf-private
  +  ]);
   
     nativeBuildInputs = [
       meson ninja pkgconfig perl python3 gettext gtk-doc docbook_xsl docbook_xml_dtd_45 glibcLocales
  
positive.code:     ln -sr -t "''${!outputInclude}/include/" "''${!outputInclude}"/lib/*/include/* 2>/dev/null || true
    '';
  
    version = "2.58.2";
  in
  
  
negative.code: , doCheck ? stdenv.config.doCheckByDefault or false
  , coreutils, dbus, libxml2, tzdata
  , desktop-file-utils, shared-mime-info
  , darwin
  }:
  
  with stdenv.lib;
  