anchor.diff:  , libuuid
   , colord
   , docbook_xml_dtd_43
  -, docbook_xsl
  +, docbook-xsl-nons
   , ninja
   , gcab
   , python3
  
positive.code:     requests
    ]);
  
    fontsConf = makeFontsConf {
      fontDirectories = [ freefont_ttf ];
    };
  
    isx86 = stdenv.isx86_64 || stdenv.isi686;
  
    # Dell isn't supported on Aarch64
  
negative.code:       libsmbios
      ];
  
      mesonFlags = [
        "-Dgtkdoc=true"
        "-Dplugin_dummy=true"
        "-Dudevdir=lib/udev"
        "-Dsystemd_root_prefix=${placeholder "out"}"
        "-Dinstalled_test_prefix=${placeholder "installedTests"}"
        "-Defi-libdir=${gnu-efi}/lib"
        "-Defi-ldsdir=${gnu-efi}/lib"
        "-Defi-includedir=${gnu-efi}/include/efi"
        "--localstatedir=/var"
        "--sysconfdir=/etc"
        "-Dsysconfdir_install=${placeholder "out"}/etc"
  
        # We do not want to place the daemon into lib (cyclic reference)
        "--libexecdir=${placeholder "out"}/libexec"
        # Our builder only adds $lib/lib to rpath but some things link
        # against libfwupdplugin which is in $out/lib.
        "-Dc_link_args=-Wl,-rpath,${placeholder "out"}/lib"
      ] ++ stdenv.lib.optionals (!haveDell) [
        "-Dplugin_dell=false"
        "-Dplugin_synaptics=false"
      ] ++ stdenv.lib.optionals (!haveRedfish) [
        "-Dplugin_redfish=false"
      ] ++ stdenv.lib.optionals haveFlashrom [
        "-Dplugin_flashrom=true"
      ];
  
      # TODO: wrapGAppsHook wraps efi capsule even though it is not ELF
      dontWrapGApps = true;
  
      # /etc/os-release not available in sandbox
      # doCheck = true;
  
      # Environment variables
  
      # Fontconfig error: Cannot load default config file
      FONTCONFIG_FILE =
        let
          fontsConf = makeFontsConf {
            fontDirectories = [ freefont_ttf ];
          };
        in fontsConf;
  
      # error: “PolicyKit files are missing”
      # https://github.com/NixOS/nixpkgs/pull/67625#issuecomment-525788428
      PKG_CONFIG_POLKIT_GOBJECT_1_ACTIONDIR = "/run/current-system/sw/share/polkit-1/actions";
  
      # Phase hooks
  
      postPatch = ''
        patchShebangs \
  