anchor.diff:      "-Dgtk_doc=${boolToString (stdenv.hostPlatform == stdenv.buildPlatform)}"
       "-Dnls=enabled"
       "-Ddevbindir=${placeholder "dev"}/bin"
  +  ] ++ optionals (!stdenv.isDarwin) [
  +    "-Dman=true"                # broken on Darwin
     ];
   
     NIX_CFLAGS_COMPILE = toString [
  
positive.code: { config, lib, stdenv, fetchurl, gettext, meson, ninja, pkg-config, perl, python3
  , libiconv, zlib, libffi, pcre, libelf, gnome, libselinux, bash, gnum4, gtk-doc, docbook_xsl, docbook_xml_dtd_45
  # use util-linuxMinimal to avoid circular dependency (util-linux, systemd, glib)
  , util-linuxMinimal ? null
  , buildPackages
  
negative.code:     (buildPackages.meson.override {
        withDarwinFrameworksGtkDocPatch = stdenv.isDarwin;
      })
      ninja pkg-config perl python3 gettext gtk-doc docbook_xsl docbook_xml_dtd_45 libxml2 libxslt
    ];
  
    propagatedBuildInputs = [ zlib libffi gettext libiconv ];
  