anchor.diff:    # only redfish for x86_64
     haveRedfish = stdenv.isx86_64;
   
  -  # Currently broken on Aarch64
  -  haveFlashrom = isx86;
  -
  -in stdenv.mkDerivation rec {
  +  # # Currently broken on Aarch64
  +  # haveFlashrom = isx86;
  +  # Experimental in 1.2.10
  +  haveFlashrom = false;
  +
  +in
  +
  +stdenv.mkDerivation rec {
     pname = "fwupd";
  -  version = "1.2.8";
  +  version = "1.2.10";
   
     src = fetchurl {
       url = "https://people.freedesktop.org/~hughsient/releases/fwupd-${version}.tar.xz";
  -    sha256 = "0qbvq52c0scn1h99i1rf2la6rrhckin6gb02k7l0v3g07mxs20wc";
  +    sha256 = "0inngs7i48akm9c7fmdsf9zjif595rkaba69rl76jfwfv8r21vjb";
     };
   
     outputs = [ "out" "lib" "dev" "devdoc" "man" "installedTests" ];
   
     nativeBuildInputs = [
  -    meson ninja gtk-doc pkgconfig gobject-introspection intltool shared-mime-info
  -    valgrind gcab docbook_xml_dtd_43 docbook_xsl help2man libxslt python wrapGAppsHook vala
  +    meson
  +    ninja
  +    gtk-doc
  +    pkgconfig
  +    gobject-introspection
  +    intltool
  +    shared-mime-info
  +    valgrind
  +    gcab
  +    docbook_xml_dtd_43
  +    docbook_xsl
  +    help2man
  +    libxslt
  +    python
  +    wrapGAppsHook
  +    vala
     ];
   
     buildInputs = [
  -    polkit libxmlb gusb sqlite libarchive libsoup elfutils gnu-efi libyaml
  -    libgudev colord gpgme libuuid gnutls glib-networking json-glib umockdev
  -    bash-completion cairo freetype fontconfig pango efivar
  -  ] ++ stdenv.lib.optionals haveDell [ libsmbios ];
  +    polkit
  +    libxmlb
  +    gusb
  +    sqlite
  +    libarchive
  +    libsoup
  +    elfutils
  +    gnu-efi
  +    libyaml
  +    libgudev
  +    colord
  +    gpgme
  +    libuuid
  +    gnutls
  +    glib-networking
  +    json-glib
  +    umockdev
  +    bash-completion
  +    cairo
  +    freetype
  +    fontconfig
  +    pango
  +    efivar
  +  ] ++ stdenv.lib.optionals haveDell [
  +    libsmbios
  +  ];
   
     patches = [
       ./fix-paths.patch
  
positive.code:       "pki/fwupd-metadata/GPG-KEY-Linux-Vendor-Firmware-Service"
        "pki/fwupd-metadata/LVFS-CA.pem"
      ];
    };
  
    meta = with stdenv.lib; {
      homepage = https://fwupd.org/;
      maintainers = with maintainers; [];
      license = [ licenses.gpl2 ];
      platforms = platforms.linux;
    };
  
negative.code:   ];
  
    postPatch = ''
      patchShebangs \
        libfwupd/generate-version-script.py \
        meson_post_install.sh \
        po/make-images \
        po/make-images.sh \
        po/test-deps
  
      # we cannot use placeholder in substituteAll
      # https://github.com/NixOS/nix/issues/1846
  