anchor.diff:  , libiconv, zlib, libffi, pcre, libelf, gnome3, libselinux, bash, gnum4, gtk-doc, docbook_xsl, docbook_xml_dtd_45
   # use utillinuxMinimal to avoid circular dependency (utillinux, systemd, glib)
   , utillinuxMinimal ? null
  +, buildPackages
   
   # this is just for tests (not in the closure of any regular package)
   , doCheck ? stdenv.config.doCheckByDefault or false
  
positive.code:     # This file is *included* in gtk3 and would introduce runtime reference via __FILE__.
      sed '1i#line 1 "${name}/include/glib-2.0/gobject/gobjectnotifyqueue.c"' \
        -i "$dev"/include/glib-2.0/gobject/gobjectnotifyqueue.c
    '';
  
    checkInputs = [ tzdata libxml2 desktop-file-utils shared-mime-info ];
  
negative.code:     utillinuxMinimal # for libmount
    ];
  
    nativeBuildInputs = [
      meson ninja pkgconfig perl python3 gettext gtk-doc docbook_xsl docbook_xml_dtd_45 glibcLocales
    ];
  
    propagatedBuildInputs = [ zlib libffi gettext libiconv ];
  
    mesonFlags = [
      # Avoid the need for gobject introspection binaries in PATH in cross-compiling case.
      # Instead we just copy them over from the native output.
      "-Dgtk_doc=${if stdenv.hostPlatform == stdenv.buildPlatform then "true" else "false"}"
    ];
  
    LC_ALL = "en_US.UTF-8";
  