anchor.diff:    # only redfish for x86_64
     haveRedfish = stdenv.isx86_64;
   
  -  # Currently broken on Aarch64
  -  haveFlashrom = isx86;
  +  # # 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" ];
  
positive.code:   ];
  
    postPatch = ''
      patchShebangs .
  
      # we cannot use placeholder in substituteAll
      # https://github.com/NixOS/nix/issues/1846
  
negative.code: 
    FONTCONFIG_FILE = fontsConf; # Fontconfig error: Cannot load default config file
  
    # 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";
  
    # TODO: wrapGAppsHook wraps efi capsule even though it is not elf
    dontWrapGApps = true;
    # so we need to wrap the executables manually
  