anchor.diff:  { stdenv
   , lib
  +, fetchpatch
   , fetchurl
   , pkg-config
   , expat
  
positive.code:     # Also applied upstream in https://gitlab.freedesktop.org/dbus/dbus/-/merge_requests/189,
      # expected in version 1.14
      ./docs-reproducible-ids.patch
    ] ++ (lib.optional stdenv.isSunOS ./implement-getgrouplist.patch);
  
    postPatch = ''
      substituteInPlace tools/Makefile.in \
        --replace 'install-localstatelibDATA:' 'disabled:' \
        --replace 'install-data-local:' 'disabled:' \
        --replace 'installcheck-local:' 'disabled:'
      substituteInPlace bus/Makefile.in \
        --replace '$(mkinstalldirs) $(DESTDIR)$(localstatedir)/run/dbus' ':'
    '' + /* cleanup of runtime references */ ''
      substituteInPlace ./dbus/dbus-sysdeps-unix.c \
        --replace 'DBUS_BINDIR "/dbus-launch"' "\"$lib/bin/dbus-launch\""
  
negative.code:   outputs = [ "out" "dev" "lib" "doc" "man" ];
  
    nativeBuildInputs = [
      autoreconfHook
      autoconf-archive
      pkg-config
      docbook_xml_dtd_44
      docbook-xsl-nons
  